
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
Donkeys were grazing in the meadow. Several boys approached them.

"Get on a donkey one by one!" commanded the eldest. One boy was left without a donkey.

"Get on two by two on a donkey," the eldest commanded again. One donkey was left without a boy.

How many boys and how many donkeys were there?

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