4. A hundred chairs are arranged in a circle, and the numbers 1 to 100 are written on them in sequence. Ivica skips the first six chairs and places a candy on the seventh, then skips the next 6 and places another candy on the chair numbered 14. He continues in this way around the circle, placing one candy on every seventh chair until he has used up 2023 candies. What is the number of the chair on which Ivica placed the last candy?
## First solution.

Ivica places a candy on every seventh chair. Since $2023 \cdot 7 = 14$ 161, Ivica will place the 2023rd candy on the chair that is 14,161st in the sequence.

Since $14161 = 141 \cdot 100 + 61$, Ivica has circled all hundred chairs 141 times and placed the last candy on the chair number 61.