
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
A tourist traveled by boat along a river for 90 km and walked 10 km. The time spent walking was 4 hours less than the time spent on the river. If the tourist had walked for the same amount of time as he traveled by boat, and had traveled by boat for the same amount of time he walked, the distances covered would have been equal. How much time did he spend walking and how much time did he spend on the river?

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