L, M, and N are waiting in a queue meant for children to enter the zoo. There are 5 children between L and M, and 8 children between M and N. If there are 21 children ahead of N and 40 children behind L, then what is the minimum number of children in the queue?
A. 47
B. 48
C. 60
D. 77
GATE 2011 · General Aptitude · Logical Reasoning · medium
Answer: The minimum number of children in the queue is 47.
Arrangement L - M - N (L closer to entrance): 40 behind L means (5 + 1 + 8 + 1 + behind_N) = 40, so behind_N = 25. 21 ahead of N means ahead_of_L + 1 + 5 + 1 + 8 = 21, so ahead_of_L = 6. Total = 6 + 1 + 5 + 1 + 8 + 1 + 25 = 47.
Arrangement N - M - L (N closer to entrance): 21 ahead of N fixed. 40 behind L means behind_L = 40. Total = 21 + 1 + 8 + 1 + 5 + 1 + 40 = 77.
Identify minimum: The arrangement L-M-N gives the minimum total of 47.