A certain number of people are sitting in a straight line facing north. T is sitting to the immediate left of S. Only two people are sitting to the left of P. Only two people are sitting between P and S. T is third to the left of the person sitting at the extreme right end. How many people are sitting in the row?
1
6
2
5
3
8
4
7