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