The students buy 2*5=<<2*5=10>>10 bags of chips.

10 bags of chips cost 10*0.5=<<10*0.5=5>>5 dollars.

5 candy bars cost 5*2=<<5*2=10>>10 dollars.

They will need 10+5=<<10+5=15>>15 dollars.

# Answer

15
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The snack machine at Richmond High School sells candy bars for $2 each and chips for $.50 each. How much money, in dollars, will 5 students need in total if each of them gets 1 candy bar and 2 bags of chips?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
15
The snack machine at Richmond High School sells candy bars for $2 each and chips for $.50 each. How much money, in dollars, will 5 students need in total if each of them gets 1 candy bar and 2 bags of chips?
train