
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
John and Mary live in a skyscraper, with 10 apartments on each floor. John's floor number is equal to Mary's apartment number, and the sum of their apartment numbers is 239. In which apartment does John live?

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