7 children stand in a circle, numbered 1 to 7 in order. Counting around the circle from child 1, every third child leaves: the first two stay, the third leaves, the next two stay, the sixth leaves, and so on. What number is the last child left?

1234567