It takes 50 large jelly beans to fill up a large drinking glass.  It takes half that amount to fill up a small drinking glass.  If there are 5 large drinking glasses and 3 small ones, how many jellybeans will it take to fill them up?
A small drinking glass takes half the amount of a large glass that needs 50 so it will take 50/2 = 
<gadget id="calculator">50/2</gadget>
<output>25</output>
25 jellybeans
5 large glasses need to be filled so they will take 5*50 = 
<gadget id="calculator">5*50</gadget>
<output>250</output>
250 jelly beans.
There are 3 small glasses that need to be filled so they will take 3*25 = 
<gadget id="calculator">3*25</gadget>
<output>75</output>
75 jelly beans.
All total, to fill all the glasses it will take 250+75 = 
<gadget id="calculator">250+75</gadget>
<output>325</output>
325 jellybeans.

<result>325</result>