
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
During a family reunion for the Spring Festival, if the average age of the remaining members, excluding the oldest person, is 18 years old; and if the average age of the remaining members, excluding the youngest person, is 20 years old, it is known that the age difference between the oldest and the youngest person is 40 years. How many people are attending the reunion?

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