Abie had 20 bags of chips. She gave 4 bags to her friend and bought another 6 bags of chips in the store. How many bags of chips does Abie have in the end? Let's think step by step and output the final answer after "####".
user
Abie had 20 - 4 = <<20-4=16>>16 bags of chips after giving 4 bags of chips to her friend.
Abie has 16 + 6 = <<16+6=22>>22 bags of chips in the end.
#### 22
Abie had 20 bags of chips. She gave 4 bags to her friend and bought another 6 bags of chips in the store. How many bags of chips does Abie have in the end?
train