How many unit cubes would you need to make a model of a rectangular prism that is 4 units long × 3 units wide × 2 units high?

A. 9
B. 12
C. 18
D. 24