The pizzeria sells small pizzas for $2 and large pizzas for $8. They sold $40 in pizzas. If they sold 8 small pizzas, how many large pizzas did they sell? Let's think step by step and output the final answer after "####".
user
They earned 8*2= $<<8*2=16>>16 from the small pizzas
The large pizzas earned 40-16=$<<40-16=24>>24
They sold 24/8= <<24/8=3>>3 large Pizzas
#### 3
The pizzeria sells small pizzas for $2 and large pizzas for $8. They sold $40 in pizzas. If they sold 8 small pizzas, how many large pizzas did they sell?
train