Four friends A, B, C, and D are sitting in a row. A is to the left of B but to the right of C. D is sitting at one of the ends. Who is sitting in the middle?

Answer: A. A
Since A is to the left of B and to the right of C, the arrangement must be C, A, B, with D at one end. Therefore, A is in the middle.