
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 gambling with gold coins. First, the first pirate lost half of his coins (giving them to the second pirate), then the second pirate lost half of his, and then the first pirate lost half of his coins again. As a result, the first pirate ended up with 15 coins, and the second pirate had 33. How many coins did the first pirate have before the game started?

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