I am a part of a straight line of people. In front of me there are only 27 people. In front of the person in front of me there are also only 27 people. Behind the person behind me there are only 28 people. Determine the minimum number of people in front of the person behind me, which would comply to all conditions. Note that I am not at the front or end of the line, nor does the line contain infinite number of people.
Note: The phrase "X is in front of Y" means that X faces toward Y.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let us first validate the problem.
In front of me there are 2 7 people. Naturally, there should only be 2 6 people in front of the person in front of me if we faced the same direction . If the person in front of me faced the opposite direction, he would have faced me. Then there should be 2 6 people behind me.
For the third condition, however, there would again be a discrepancy as there should be 2 8 people behind the person behind me, but behind me there are only 2 6 . This arises if, again, the person behind me faces the same direction as I am. If the person behind faces opposite my direction, that is, I am behind him, then the condition becomes true, as behind him would be me and the other 2 7 people in front of me.
Since there are 2 6 people behind me, then in front of the person behind me would be 2 5 .