
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 pizza is made with 16 slices and only two toppings: pepperoni and mushrooms. Every slice has at least one topping. Exactly 8 slices have pepperoni, and exactly 14 slices have mushrooms. Determine how many slices are topped with both pepperoni and mushrooms.

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