In a container, a mixture of 0.5 kg of water and an unknown mass of ice are both at a temperature of . When 50 g of water vapor is released into the mixture, all the ice melts, and the temperature of the initial mixture rises by 3 K. What is the mass of the ice in the mixture?