
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
Each student in group A has 28 walnuts, each student in group B has 30 walnuts, and each student in group C has 31 walnuts. The total number of walnuts in the three groups is 365. How many students are there in total in the three groups?

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