
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
Ivan is twice as old as Peter was when Ivan was as old as Peter is now. When Peter is as old as Ivan is now, the sum of their ages will be 54 years. How old is Peter?

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