Sample Explanation
In Sample Case #1, the first person occupies the leftmost of the middle two stalls, leaving the following configuration (O stands for an occupied stall and . for an empty one): O.O..O. Then, the second and last person occupies the stall immediately to the right, leaving 1 empty stall on one side and none on the other.
In Sample Case #2, the first person occupies the middle stall, getting to O..O..O. Then, the second and last person occupies the leftmost stall.
In Sample Case #3, the first person occupies the leftmost of the two middle stalls, leaving O..O...O. The second person then occupies the middle of the three consecutive empty stalls.
In Sample Case #4, every stall is occupied at the end, no matter what the stall choices are.
In Sample Case #5, the first and only person chooses the leftmost middle stall.
Limits
Small Dataset 1 (5 Pts, Test set 1 - Visible)
Small Dataset 2 (10 Pts, Test set 2 - Visible)
Large Dataset (15 Pts, Test set 3 - Hidden)