A rectangular prism measures 7127 cm by 12 cm by 151215 cm. Calculate the number of cubes with an edge length of 12 cm that fit in this prism. What is the volume of the prism in cm³?