Liam is planning to repaint his living room. The paint costs $15 per gallon, and each gallon covers 350 square feet. If his living room walls have a total area of 1,400 square feet, how much will it cost Liam to buy enough paint to cover all the walls? Let's think step by step and output the final answer within \boxed{}.
user