In a row of boys, Vivek stands thirteenth from the left and Ravi is thirteenth…
20172017
In a row of boys, Vivek stands thirteenth from the left and Ravi is thirteenth from the right. If they interchange their places, Ravi would be eighteenth from the right. How many boys are there in the row?
- A.
29
- B.
30
- C.
31
- D.
32
Attempted by 12 students.
Show answer & explanation
Correct answer: B
For any single seat in a row of people, if that seat is P-th from the left end, it is automatically (Total − P + 1)-th from the right end. Rearranged, this gives the identity: Total = (position from left) + (position from right) − 1 — because that one seat gets counted once from each direction, so the two counts overlap by exactly one.
Applying this to the row of boys:
Vivek's original seat is 13th from the left.
When Vivek and Ravi swap seats, Ravi moves into Vivek's original seat.
The problem states that after the swap, Ravi (now in that seat) is 18th from the right — so Vivek's original seat is 18th from the right.
That single seat is therefore both 13th from the left and 18th from the right, so by the identity: Total = 13 + 18 − 1 = 30.
Cross-check with the total of 30: Ravi's original seat was 13th from the right, which by the same identity is 30 − 13 + 1 = 18th from the left. After the swap, Vivek moves into that seat and becomes 18th from the left — consistent with a row of 30 boys.
So there are 30 boys in the row.