Problem 5.1. After a football match, the coach lined up the team as shown in the figure, and commanded: "Run to the locker room, those whose number is less than that of any of their neighbors." After several people ran away, he repeated his command. The coach continued until only one player was left. What is Igor's number, if it is known that after he ran away, 3 people remained in the line? (After each command, one or several players ran away, after which the line closed, and there were no empty spaces between the remaining players.)

![](https://cdn.mathpix.com/cropped/2024_05_06_d7ec6e60d14a8fdbf750g-08.jpg?height=386&width=1072&top_left_y=485&top_left_x=191)
Answer: 5.

Solution. It is clear that after the first command, the players left are $9,11,10,6,8,5,4,1$. After the second command, the players left are $11,10,8,5,4$. After the third - $11,10,8,5$. After the fourth - $11,10,8$. Therefore, Igor had the number 5.