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 \mathrm{~g}$ and $87.39 \mathrm{~g}$, respectively, and the density of water is $0.9976 \mathrm{~g} / \mathrm{cm}^{3}$, calculate the volume of the flask in $\mathrm{cm}^{3}$.