
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 sum of the ages of Tom and John is 23, the sum of the ages of John and Alex is 24, and the sum of the ages of Tom and Alex is 25. What is the sum of the squares of their three ages?

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