Shelby and her mom made 12 bags of buttered popcorn + 10 bags of caramel popcorn = <<12+10=22>>22 bags.

Of those 22 bags, her brother took 3 bags of buttered popcorn + 1 bag of caramel popcorn = <<3+1=4>>4 bags.

So now Shelby has 22 bags – 4 bags = <<22-4=18>>18 bags of popcorn left.

# Answer

18
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Shelby was having a movie party for her birthday. She and her mom made a dozen bags of buttered popcorn and 10 bags of caramel popcorn. Her brother Alan took 3 bags of buttered popcorn and 1 bag of caramel popcorn for his friends. How many bags of popcorn does Shelby have left for the party?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
18
Shelby was having a movie party for her birthday. She and her mom made a dozen bags of buttered popcorn and 10 bags of caramel popcorn. Her brother Alan took 3 bags of buttered popcorn and 1 bag of caramel popcorn for his friends. How many bags of popcorn does Shelby have left for the party?
train