A gymnasium is 45 feet long, 30 feet wide, and 14 feet high. the school is painting the four walls. a gallon of paint covers 414 square feet and costs $17.50 per gallon. how many gallons will the school need and what is the total cost to paint the gymnasium?