A rectangular box contains 336 cubic inches. If it is 12 inches long and 7 inches wide, how deep is it? (Volume is the product of length, width, and depth.)