human
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?
assistant
How much did the ten students raise? ** Ten students raised a total of $20 x 10 = $<<20*10=200>>200.
How much did the remaining students raise? ** There are 30 - 10 = <<30-10=20>>20 students who raised $30 each.
How much did the remaining students raise? ** Twenty students raised a total of $30 x 20 = $<<30*20=600>>600.
How much did the students raise in all? ** Therefore, the students raised a total of $200 + $600 = $<<200+600=800>>800.
#### 800