In a small town, the revenue generated from ticket sales for a community play is modeled by the equation R = 10n - 0.5n^2, where R is the revenue in dollars and n is the number of tickets sold. The theater can hold a maximum of 20 seats for each performance.
If the theater sold all available tickets for a performance, what will be the total revenue generated?