A rectangular prism has a length of 7 cm, a width of 4 cm, and a height of 2 1/2 cm.

The prism is filled with cubes that have edge lengths of 1/2 cm.



How many cubes are needed to fill the rectangular prism?