A rectangular prism has a length of 12 inches, a width of 5 inches, and a height of 4 1/4 inches. How many cubes are needed to fill the rectangular prism?