A company makes wax candles shaped like rectangular prisms. each candle is 5 cm long, 2 cm wide and 12 cm tall. if the company used 5040 cm^3 of wax, how many candles did they make ?