3. 4. In a computer game, a turtle moves across a grid on the computer screen, which contains 5 columns and 9 rows. Initially, it is located in the bottom-left corner of the screen - on the cell with coordinates . If the program instructs the turtle to move off the screen, it reappears on the opposite side - for example, taking one step up from the cell , the turtle will end up in the cell . Where will the turtle end up after executing the following program:
1) 1 step up; 2) 2 steps to the right; 3) 3 steps down; 4) 4 steps to the left; 5) 5 steps up; 6) 6 steps to the right; ...; 2016) 2016 steps to the left; 2017) 2017 steps up
Problem 344
Official solution
Answer:
Examples of answer notation:
#