
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

A team of four pirates landed on an island to divide a treasure of gold coins. It was late, so they decided to postpone the division until morning. The first pirate woke up during the night and decided to take his share. He could not divide the coins into four equal parts, so he first took two coins and then a quarter of the remaining ones and went back to sleep. Unaware of this, the second pirate woke up and did the same as the first pirate. The third and fourth pirates followed the same actions as the first and second. In the morning, without saying a word to each other, they evenly divided the remaining coins among themselves. How many coins did each pirate get if the original treasure contained at least 3000 and at most 4000 coins?

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