A baseball team plays in a stadium that holds 56,000 spectators. With the ticket price at $10, the average attendance at recent games has been 24,000. A market survey indicates that for every dollar the ticket price is lowered, attendance increases by 3000. Find a function that models the revenue in terms of ticket price. (Let x be the ticket price and R(x) be the revenue.)