Six persons- M, N, O, P, Q and R have different heights.
As many persons are taller than N as shorter than P.
N is taller than P.
M is shorter than P
Case 1: _ > N > _ > _ > P > M
Case 2: _ > _ > N > P > M > _
Case 3: _ > _ > N > P > _ > M
O is taller than N and shorter than R.
Q is not the shortest person.
Thus, Case 1 and Case 2 get cancelled.
Case 3: R > O > N > P > Q > M
The height of the third shortest person is 162cm.
The height of second tallest person is 178cm.
R > O(178cm) > N > P(162cm) > Q > M
This is the final arrangement.
Only one person is shorter than Q.