Write an equation. A basketball field house seats 15,000 people. Courtside seats sell for $9, end zone seats for $7, and balcony seats for $4. A sellout produces a total of $81,000. The number of courtside seats is 1000 more than the number of end zone seats. How many seats of each type are there?