
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 has two numbers, \( a \) and \( b \). When he divides \( a \) by 84, he gets a remainder of 77. When he divides \( b \) by 120, he gets a remainder of 113. What remainder does he get when he divides \( a+b \) by 42?

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