Phoebe has two pizzas to share with her and three friends. One has pepperoni and the other has cheese. They both have 16 slices. They all eat the same amount. One friend eats only pepperoni, while the rest have an equal number of slices of each. At the end, there is one slice of pepperoni left and 7 slices of cheese, how many slices does each person eat? Let's think step by step and output the final answer after "####".
user
They are 9 slices of cheese because 16 - 7 = <<16-7=9>>9
They ate three slices of cheese each because 9 / 3 = <<9/3=3>>3
They are 6 slices each in total because 3 x 2 = <<3*2=6>>6
#### 6
Phoebe has two pizzas to share with her and three friends. One has pepperoni and the other has cheese. They both have 16 slices. They all eat the same amount. One friend eats only pepperoni, while the rest have an equal number of slices of each. At the end, there is one slice of pepperoni left and 7 slices of cheese, how many slices does each person eat?
train