
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
There are apples in a closed bag. Three friends tried to lift the bag and guess how many fruits were inside. The first guessed that there were 20 apples, the second thought there were 22, and the third guessed 25. When they opened the bag, it turned out that one of them was off by 1, another by 3, and the third by 6. How many apples were in the bag? Find all possible answers.

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