He spent $49 on glasses because 50-49=<<50-49=1>>1
He spent $24 on small glasses because 8x3=<<8*3=24>>24
He spent $25 on large glasses because 49-24=<<49-24=25>>25
He bought 5 large glasses because 25/5=<<25/5=5>>5
#### 5