human
Peter purchased 20 popsicles at $0.25 each. He also purchased 4 ice cream bars at $0.50 each. How much did he pay in total in dollars?
assistant
How much did the popsicles cost? ** The popsicles cost 0.25*20=<<0.25*20=5>>5 dollars.
How much did the ice cream bars cost? ** The ice cream bars cost 0.5*4=<<0.5*4=2>>2 dollars.
How much did Peter pay in total in dollars? ** He paid 5+2=<<5+2=7>>7 dollars.
#### 7