In a row of boys, if P who is tenth from the left and Q who is ninth from the right interchange their positions, P becomes fifteenth from the left. How many boys are there in the row?
(A) 23
(B) 27
(C) 28
(D) 31