
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 only ham and cheese toppings, and every slice has at least one topping. Exactly 15 slices have ham, and exactly 17 slices have cheese. How many slices have both ham and cheese?

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