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 = $<<20*10=200>>200.
There are 30 - 10 = <<30-10=20>>20 students who raised $30 each.
Twenty students raised a total of $30 x 20 = $<<30*20=600>>600.
Therefore, the students raised a total of $200 + $600 = $<<200+600=800>>800.
#### 800