The heat extracted out of \( x \) gram of water initially at \( 50^\circ \text{C} \) to cool it down to \( 0^\circ \text{C} \) is sufficient to evaporate \( (1000 - x) \) gram of water also initially at \( 50^\circ \text{C} \). The value of \( x \) (closest integer) is ____________ .
(Take latent heat of water \( 2256 \, \text{kJ/kg} \cdot \text{K} \), specific heat capacity of water \( 4200 \, \text{J/kg} \cdot \text{K} \))