
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
If the square of Tom's age is added to Mary's age, the result is 62. If the square of Mary's age is added to Tom's age, the result is 176. How old are Tom and Mary?

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