One gallon of paint covers 14 square feet of wall space. Andrew is painting two walls. One is 10 feet long and 9 feet tall. The other is 16 feet long and 18 feet tall. How many gallons of paint will he need