The siding of a house is 2250 square feet. The siding needs two coats of paint.

1 quart costs 18 dollars and covers 80 square feet;
1 gallon, costs 29 dollars, covers 320 square feet.

A. What is the minimum cost of the paint needed to complete the job?

B. How much paint is left over when you spend the minimum amount?