
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
From 1812 identical squares with a side length of 1 mm, a rectangular frame was made for a group photo. The boundaries of the photo coincide with the inner boundaries of the frame. Then the photo was cut along the millimeter grid line into two rectangular parts. Now, two frames were needed, which used up 2018 of the same squares. Find the dimensions of the original photo.

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