
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
First-grader Petya was arranging his available chips into the outline of an equilateral triangle such that each side, including the vertices, contains the same number of chips. Then, using the same chips, he managed to arrange them into the outline of a square in the same manner. How many chips does Petya have if the side of the square contains 2 fewer chips than the side of the triangle?

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