
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 treasure. The first pirate received one-third of the initial number of coins plus 1 coin, the second pirate received one-fourth of the initial number of coins plus 5 coins, and the third pirate received one-fifth of the initial number of coins plus 20 coins (all coins were distributed). How many coins were in the treasure?

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