
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
Mohan is selling cookies at a school fair. He decides to package the cookies in different ways and notices that when he bags them in groups of 6, he has 5 cookies left over. When he bags them in groups of 8, he has 7 left over. When he bags them in groups of 9, he has 6 left over. What is the least number of cookies that Mohan could have?

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