
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
Two pirates were playing with gold coins. First, the first pirate lost half of his coins (gave them to the second one), then the second pirate lost half of his coins, then the first pirate lost half of his coins again. As a result, the first pirate had 15 coins, and the second pirate had 33 coins. How many coins did the first pirate have at the beginning of the game?

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