
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
Given that Xiaohua has a number of apples and it is known that if he distributes 4 apples in each basket he will have 20 apples left undistributed, and if he distributes 8 apples in each basket there will be one basket that does not have enough apples, determine the original number of apples Xiaohua had.

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