human
Peter is buying a set of glasses. They cost $3 for small glasses and $5 for large ones. He has $50. If he buys 8 small ones and leaves with $1 in change, how many large ones did he buy?
assistant
How much money did Peter spend? ** He spent $49 on glasses because 50-49=<<50-49=1>>1
How much did Peter spend on small glasses? ** He spent $24 on small glasses because 8x3=<<8*3=24>>24
How much did Peter spend on large glasses? ** He spent $25 on large glasses because 49-24=<<49-24=25>>25
How many large glasses did Peter buy? ** He bought 5 large glasses because 25/5=<<25/5=5>>5
#### 5