
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
Xiaoyuan has a basket of peaches. The first time, he ate more than half of the peaches by 1. The second time, he ate less than half of the remaining peaches by 1. Now there are 4 peaches left in the basket. How many peaches were originally in the basket?

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