<human>:  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?
<bot>: How many bags of chips did Abie have after giving 4 bags of chips to her friend? ** Abie had 20 - 4 = <<20-4=16>>16 bags of chips after giving 4 bags of chips to her friend.
How many bags of chips does Abie have in the end? ** Abie has 16 + 6 = <<16+6=22>>22 bags of chips in the end.
#### 22