Emily is planning to paint her living room. The room measures 15 feet by 20 feet with a ceiling height of 8 feet. She knows that one gallon of paint covers approximately 350 square feet. How many gallons of paint does Emily need to buy to paint the four walls and the ceiling of her living room? Let's think step by step and output the final answer within \boxed{}.
user