
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 are fewer than 100 students performing a group dance, and there are two possible formations: one formation is with a group of 5 students in the middle, with the remaining students in groups of 8 around the outer circle; the other formation is with a group of 8 students in the middle, with the remaining students in groups of 5 around the outer circle. What is the maximum number of students?

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