
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
Pigsy picked a bag of wild fruits from the mountain to bring back to Tang Monk. As he walked, he got hungry and took out half of them, hesitated, put back two, and then ate the rest. This happened four times: taking out half, putting back two, and then eating. By the time he reached Tang Monk, there were 5 wild fruits left in the bag. How many wild fruits did Pigsy originally pick?

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