
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 pirates were dividing a sack of coins. The first took 3/7 of all the coins; the second took 51% of the remainder. After that, the third pirate had 8 coins less than the second one. How many coins were in the sack? Justify your answer.

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