Snail Josephine landed on a table right in the middle of a square grid consisting of 81 squares, see the image. She decided that she would not crawl away directly, but in the following way: first one square to the south, then one to the east, then two to the north, then two to the west, and again one to the south, one to the east, two to the north, two to the west... On which square was she just before she crawled off this grid? How many squares of this grid did she crawl on?

![](https://cdn.mathpix.com/cropped/2024_04_17_6eba8a84e4fa274a65c1g-1.jpg?height=760&width=762&top_left_y=1659&top_left_x=681)

(M. Petrová)
Let's draw the entire path of the snail Josefína on this square grid.

![](https://cdn.mathpix.com/cropped/2024_04_17_6eba8a84e4fa274a65c1g-2.jpg?height=811&width=768&top_left_y=237&top_left_x=678)

Before Josefína slid off the square grid, she was on the gray-marked square. In total, she crawled over twenty squares of this grid.

Evaluation. 3 points for correctly illustrating or explaining Josefína's path on the square grid; 1 point for marking the appropriate square on the grid; 2 points for determining the number of squares she crawled over. If the solver makes a mistake in drawing the path due to inattention, award a total of 2 points.

#