
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
A 24-slice pizza is made, and each slice has at least one topping between pepperoni and mushrooms. Exactly 16 slices have pepperoni, and 14 slices have mushrooms. How many slices have both toppings?

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