Five friends, P, Q, R, S, and T, are standing in a line. P is taller than Q but shorter than R. S is shorter than T but taller than Q. Who is the tallest?
Four friends - A, B, C, and D - have different pets: a dog, a cat, a bird, and a fish. A does not have a dog. B has a cat. C does not have a fish. Who has the dog?