A building has seven floors numbered one to seven in such a manner that the ground floor is numbered one, the floor above it is numbered two, and so on, such that the topmost floor is numbered seven. One of the seven persons, namely T, U, V, W, X, Y, and Z, lives on each floor, but not necessarily in the same order. There are only two people living between the floors of X and Z. No person lives above U's floor. T lives in one of the odd floors. The number of people living above and below Y is equal. W does not live above anyone other than V. X lives in one of the floors above Z. Who lives on the $5^{\text{th}}$ floor?
We need to determine who lives on the $5^{\text{th}}$ floor by logically deducing the positions of seven people (T, U, V, W, X, Y, Z) on seven floors (1 to 7).
We test the possible scenarios for (Z, X):
| Floor | Person |
| 7 | U |
| 6 | X |
| 5 | T |
| 4 | Y |
| 3 | Z |
| 2 | V |
| 1 | W |
Based on the deduced arrangement, T lives on the $5^{\text{th}}$ floor.
Read the following information carefully and answer the question that follows.
Five coaching classes — P, Q, R, S, and T — are located on five different floors numbered 1, 2, 3, 4, and 5, but not necessarily in the same order. Each coaching class teaches only one of the following subjects: Physics, Chemistry, Mathematics, Biology, and English, but not necessarily in the same order.
Based on the above information, determine on which floor Mathematics is taught.
Read the following information carefully and answer the question that follows.
Five coaching classes — P, Q, R, S, and T — are located on five different floors numbered 1, 2, 3, 4, and 5, but not necessarily in the same order. Each coaching class teaches only one of the following subjects: Physics, Chemistry, Mathematics, Biology, and English, but not necessarily in the same order.
Based on the above information, determine on which floor Mathematics is taught.