The following procedure was used to determine the volume of a flask. The flask was weighed dry and then filled with water. If the masses of the empty flask and filled flask were 56.12 g and 87.39 g, respectively, and the density of water is 0.9976 g/cm^3, calculate the volume of the flask in cubic centimeters.