Five people are standing in a line: P, Q, R, S, and T. R is to the left of S but to the right of Q. T is not at either end. Who is standing at the rightmost position?

Answer: D. S
The order must be Q, R, S, and T cannot be at the ends, so P must be at the leftmost position, making S the rightmost.