
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
The hourly wage of craftsmen $A$ and $B$ is different, but both craftsmen worked the same number of hours. If $A$ had worked one hour less and $B$ five hours less, then $A$ would have earned 720 rubles and $B$ 800 rubles. Conversely, if $A$ had worked five hours less and $B$ one hour less, then $B$ would have earned 360 rubles more than $A$. How much did each craftsman actually earn?

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