
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
Alex colors all the small squares that lie on the two longest diagonals of a square grid. She colors 2017 small squares. What is the size of the square grid?
A $1009 \times 1009$
B $1008 \times 1008$
C $2017 \times 2017$
D $2016 \times 2016$
E $2015 \times 2015$

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