
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
In a class of 31 students, three of them have exactly three friends each, the next three have six friends each, the next three have nine friends each, and so on, until the last three have thirty friends each. How many friends does the 31st student have? (Friendship between people is mutual.)

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