PASCAL 2021 Problem 14

A robot is placed on the grid shown. The robot starts on square 25 , initially facing square 32 . The robot (i) moves 2 squares forward in the direction that it is facing, (ii) rotates clockwise 90^{\circ}, and (iii) moves 1 square forward in the new direction. Thus, the robot moves to square 39, then turns to face square 38 , then moves to square 38 . The robot repeats the sequence of moves (i), (ii), (iii) two more times. Given that the robot never leaves the grid, on which square does it finish?

\begin{array}{lllllll} 1 & 2 & 3 & 4 & 5 & 6 & 7 \\ \hline 8 & 9 & 10 & 11 & 12 & 13 & 14 \\ \hline 15 & 16 & 17 & 18 & 19 & 20 & 21 \\ \hline22 & 23 & 24 & 25 & 26 & 27 & 28 \\ \hline29 & 30 & 31 & 32 & 33 & 34 & 35 \\ \hline 36 & 37 & 38 & 39 & 40 & 41 & 42 \\ \hline43 & 44 & 45 & 46 & 47 & 48 & 49 \end{array}

Answer Choices
A. 16
B. 20
C. 29
D. 24
E. 25