
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
Four bags of jelly beans contain 15, 22, 35, and 40 beans, respectively. The ratios of yellow jelly beans to all beans in each of these bags are $40\%$, $30\%$, $25\%$, and $10\%$. All four bags of candy are emptied into one large container. What is closest to the ratio of yellow jelly beans to all beans in the container?
A) 22%
B) 23%
C) 24%
D) 25% 
E) 26%

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