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?
Abie had 20 - 4 = 
<gadget id="calculator">20-4</gadget>
<output>16</output>
16 bags of chips after giving 4 bags of chips to her friend.
Abie has 16 + 6 = 
<gadget id="calculator">16+6</gadget>
<output>22</output>
22 bags of chips in the end.

<result>22</result>