A company makes wax candles in the shape of a rectangular prism. Each candle is 7 inches long, 2 inches wide, and 9 inches tall. How much wax will they need to make 378candles?