Question 7
Students are standing in the queue. There are 9 students between John and Sam. After the first 7 students left the queue, Sam became the 5th from the start, and John became the middle of the queue. How many students were there in the queue at first?