
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 One to Class Two, and Lei Lei transferred from Class Two to Class One. As a result, the average height of students in Class One increased by 2 centimeters, and the average height of students in Class Two decreased by 3 centimeters. If Lei Lei's height is 158 centimeters and Rong Rong's height is 140 centimeters, determine the total number of students in the two classes.

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