Thirty students run in a charity race to raise money for the hurricane victims. Ten of the students raised $20 each. The rest of the students raised $30 each. How much did the students raise in all?
Ten students raised a total of $20 x 10 = $
<gadget id="calculator">20*10</gadget>
<output>200</output>
200.
There are 30 - 10 = 
<gadget id="calculator">30-10</gadget>
<output>20</output>
20 students who raised $30 each.
Twenty students raised a total of $30 x 20 = $
<gadget id="calculator">30*20</gadget>
<output>600</output>
600.
Therefore, the students raised a total of $200 + $600 = $
<gadget id="calculator">200+600</gadget>
<output>800</output>
800.

<result>800</result>