Sam had twice the amount of John so Sam ate 3*2 = <<3*2=6>>6 slices

Together, they ate 3+6 = <<3+6=9>>9 slices

1 pizza has 12 slices.

9 slices were eaten so 12-9= <<12-9=3>>3 slices left.

# Answer

3
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John and Sam were hungry so they ordered an extra-large pizza that was pre-sliced into 12 pieces.  John ate 3 slices while Sam ate twice the amount that John ate.  How many slices of pizza were left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3
John and Sam were hungry so they ordered an extra-large pizza that was pre-sliced into 12 pieces.  John ate 3 slices while Sam ate twice the amount that John ate.  How many slices of pizza were left?
train