
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
The Novák family baked wedding cakes. They delivered a quarter to relatives in Moravia, gave a sixth to colleagues at work, and gave a ninth to neighbors. If they had three more cakes left, it would be half of the original number of cakes. How many cakes did they bake?

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