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

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