A box measuring 36 inches long by 45 inches wide by 18 inches deep is to be filled entirely with identical cubes. No space is to be left unfilled. What is the smallest number of cubes that can accomplish this objective?
Choose the correct choice from the following options.
A) 32	B) 34	C) 38	D) 40	E) 42

Rationale: "least number of cubes will be required when the cubes that could fit in are biggest . 9 is the biggest number that could divide all three , 36 , 45 and 18 . thus side of cube must be 9 , and total number of cubes = 36 / 9 * 45 / 9 * 18 / 9 = 40 ans d ."
Answer: D