The factory makes boxes that each hold one candle. The boxes measure 1 inch × 1 inch × 9 inches. The factory owner makes a stack of 40 candle boxes. What is the volume of the stack?