
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Mrs. Lin arranges all integers from $1$ to $400$ in a $20 \times 20$ grid. She places the number $1$ in the top-left corner and arranges the remaining numbers in a clockwise spiral towards the center. Calculate the sum of the greatest number and the least number that appear in the fifth row from the top.

Present the answer in LaTex format: \boxed{Your answer}
user