
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
Dmitry is three times as old as Gregory was when Dmitry was as old as Gregory is now. When Gregory reaches the age that Dmitry is now, the sum of their ages will be 49 years. How old is Gregory?

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