An irregularly shaped stone was lowered into a graduated cylinder holding a volume of water equal to 2 ml. The height of the water rose to 7 ml. If the mass of the stone was 25 g, what was its density?