Twenty students bought tickets for a school party. All of the money received for these 20 tickets was used to purchase beverages. Then, an additional 10 students bought tickets. Rather than use this additional money to buy more refreshments, all 30 students received a $3.00 refund. How many dollars were used to buy beverages?