
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
Jindra collects dice, all of the same size. Yesterday he found a box in which he started stacking the dice. He managed to fully cover the square base with one layer of dice. He similarly stacked five more layers, but he ran out of dice halfway through the next layer. Today, Jindra received 18 more dice from his grandmother, which were exactly the amount he needed to complete this layer.

How many dice did Jindra have yesterday?

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