Five friends, P, Q, R, S, and T are sitting in a row. Q is to the left of R but to the right of P. S is to the right of T. Who is sitting in the middle?
In a coding system, 'FISH' is represented as '614891'. If 'F' is 6, 'I' is 9, 'S' is 19, and 'H' is 8, what is the code for 'BIRD' where 'B' is 2, 'I' is 9, 'R' is 18, and 'D' is 4?