A Broadway theater has 700 seats, divided into orchestra, main, and balcony seating. Orchestra seats sell for $60, main seats for $50, and balcony seats for $30. If all the seats are sold, the gross revenue to the theater is $32,000.If all the main and balcony seats are sold, but only half the orchestra seats are sold, the gross revenue is $27,800. How many are there of each kind of
?