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

# Answer

3
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
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