
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 with several toppings: pepperoni, mushrooms, and some slices are vegetarian (without pepperoni or mushrooms). Every slice has at least one of these conditions met. Exactly 12 slices have pepperoni, and exactly 14 slices have mushrooms, with 4 slices being vegetarian. How many slices have both pepperoni and mushrooms?

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