
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 is a group of pigeons and some pigeonholes. If each pigeonhole houses 6 pigeons, then there are 3 pigeons left without a pigeonhole. If another 5 pigeons arrive, making the total number of pigeons such that each pigeonhole can exactly house 8 pigeons, how many pigeons and pigeonholes were there originally?

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