
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

Rong Rong transferred from Class 1 to Class 2, and Lei Lei transferred from Class 2 to Class 1. As a result, the average height of students in Class 1 increased by 2 cm, and the average height of students in Class 2 decreased by 3 cm. If Lei Lei's height is 158 cm and Rong Rong's height is 140 cm, how many students are there in total in the two classes?

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