
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
Distribute several apples to several children. If each child receives $3$ apples, there will be $8$ apples left. If each child receives $5$ apples, the last child will receive less than $5$ apples. How many children are there in total? How many apples are there?

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