The Blues Festival sold 20% of tickets at a reduced price of $30 and 30% of tickets at $40 and the rest at the door for full price of $50. With 10,000 tickets sold, how much did they earn from ticket sales in dollars?