
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
In a town, the ratio of the number of children to the number of adults is $3$ to $2$. 
If the average age of the children is $10$ years and the average age of the adults is $40$ years, 
then the average age of the town's population is:
A) 20
B) 21
C) 22
D) 23
E) 24

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