tickets for a community theater cost $14 for each main floor seat and $7 for each balcony seat. there are 500 seats on the main floor, and these seats were sold out for the evening performance. the total revenue from ticket sales was $8330. how many balcony seats were sold?