
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
Vasya built a pyramid of balls as follows: there is 1 ball at the top of the pyramid, 4 balls in the second layer from the top, and so on. The balls lie along the border and inside the pyramid. Find the total number of balls lying in the third and fifth layers from the top.

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