
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 certain school's second-year junior high students from classes A and B participated in the Hua Cup competition, totaling $a$ students. The average score of class A was 71 points per student, and the average score of class B was 69 points per student. The total score of the two classes was 3480 points. How many students from classes A and B participated in the competition?

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