Jessica is having a sweet tooth and bought 10 chocolate bars, 10 packs of gummy bears, and 20 bags of chocolate chips. Her total rang up to $150. If the cost of a pack of gummy bears is $2 and a bag of chocolate chips costs $5, how much does 1 chocolate bar cost? Let's think step by step and output the final answer after "####".
user
The gummy bears cost 10*2=$<<10*2=20>>20.
The chocolate chips cost 5*20=$<<5*20=100>>100.
The total cost for these two is 100+20=$<<100+20=120>>120.
The chocolate bars in total cost 150-120=$<<150-120=30>>30.
A single chocolate bar costs 30/10=$<<30/10=3>>3.
#### 3
Jessica is having a sweet tooth and bought 10 chocolate bars, 10 packs of gummy bears, and 20 bags of chocolate chips. Her total rang up to $150. If the cost of a pack of gummy bears is $2 and a bag of chocolate chips costs $5, how much does 1 chocolate bar cost?
train