The distributor of cases of a certain beverage charges $60 per case for orders of 1 to 5 cases, $50 per case for orders of 6 to 20 cases, and $45 per case for orders of more than 20 cases. If the distributor filled three orders, one for 3 cases of the beverage, one for 11 cases of the beverage, and one for 30 cases of the beverage, what was the total amount the distributor charged for the orders?