
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
Petrov and Vasechkin were fixing a fence. Each of them had to nail a certain number of boards (the same amount). Petrov drove two nails into some boards and three nails into others. Vasechkin drove three nails into some boards and five nails into the rest. Find out how many boards each of them nailed if it is known that Petrov drove 87 nails and Vasechkin drove 94.

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