Five friends P, Q, R, S, and T are sitting in a row. P is to the left of Q but to the right of R. S is sitting at one of the ends. T is sitting to the right of S. Who is sitting in the middle?
A, B, C, D, and E are five students who completed their projects in a sequence. A finished before B but after C. D finished before E but after A. What is the correct order of completion?