Luke pays a school fee. His mother gave him one $50 bill, two $20 bills, and three $10 bills. His father gave him four $50 bills, one $20 bill, and one $10 bill. If his parents gave him the exact amount for the school fee, how much is the school fee?
Luke's parents gave him 1 + 4 = 
<gadget id="calculator">1+4</gadget>
<output>5</output>
5 $50 bills.
These $50 bills amount to $50 x 5 = $
<gadget id="calculator">50*5</gadget>
<output>250</output>
250.
His parents gave him 2 + 1 = 
<gadget id="calculator">2+1</gadget>
<output>3</output>
3 $20 bills.
These $20 bills amount to $20 x 3 = $
<gadget id="calculator">20*3</gadget>
<output>60</output>
60.
His parents gave him 3 + 1 = 
<gadget id="calculator">3+1</gadget>
<output>4</output>
4 $10 bills.
These $10 bills amount to $10 x 4 = $
<gadget id="calculator">10*4</gadget>
<output>40</output>
40.
Therefore, Luke's school fee is $250 + $60 + $40 = $
<gadget id="calculator">250+60+40</gadget>
<output>350</output>
350.

<result>350</result>