How many gallons of paint are needed to paint the walls of a rectangular prism-shaped room that is 20 ft by 10 ft and 8 ft high if 1 gallon of paint covers 40 sq ft.?