A small drinking glass takes half the amount of a large glass that needs 50 so it will take 50/2 = <<50/2=25>>25 jellybeans
5 large glasses need to be filled so they will take 5*50 = <<5*50=250>>250 jelly beans
There are 3 small glasses that need to be filled so they will take 3*25 = <<3*25=75>>75 jelly beans
All total, to fill all the glasses it will take 250+75 = <<250+75=325>>325 jellybeans
#### 325