Frank goes to the store to buy some food. He buys 5 chocolate bars and 2 bags of chips. He hands the cashier $20 and gets $4 back as change. If the chocolate bars each cost $2, how much did each bag of chips cost? Let's think step by step and output the final answer after "####".
user
His entire purchase cost $20 - $4 = $<<20-4=16>>16.
The chocolate bars cost 5 * $2 = $<<5*2=10>>10.
The bags of chips cost a total of $16 - $10 = $<<16-10=6>>6.
Each bag of chips cost $6 / 2 = $<<6/2=3>>3.
#### 3
Frank goes to the store to buy some food. He buys 5 chocolate bars and 2 bags of chips. He hands the cashier $20 and gets $4 back as change. If the chocolate bars each cost $2, how much did each bag of chips cost?
train