Kevin purchased molding to put around the inside of his living room. The room was in the shape of a rectangle with a length of 18 ft and a width of 16 ft. The cost for 1 ft of molding was $6.
What was the total cost for the molding?