
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
Three merchants: Foma, Ierema, and Yuliy met in Novgorod. If Foma gives Ierema 70 gold coins, Ierema and Yuliy will have the same amount of money. If Foma gives Ierema 40 gold coins, Foma and Yuliy will have the same amount of money. How many gold coins should Foma give Ierema so that Foma and Ierema will have the same amount of money?

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