A gallon of latex paint can cover 500 square feet. Maria has a rectangular room whose dimensions are 21 feet by 22 feet, with 9-foot ceilings. How many gallon containers of paint does she need to buy to paint two coats on each wall?