
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
A teacher has a bag of candies to distribute evenly among 8 students, and the candies that are left over will be given to the school office. If each student receives the greatest possible number of candies, what is the greatest possible number of candies that could be given to the office?

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