Ice at 0°C has a total latent heat of
Q= m x L = 150 x 80 = 12000 cal.
Now for water to come at 0°C and it's state to remain as water, we need to remove heat from it which is given by,
Q = m x Cp x (∆T) = 200 x 1 x 50 = 10000 cal.
So, we can see that
Heat released by water to reach from 50°C to 0°C = heat required by ice to melt into water at 0°C.
So, the ice will melt to water and its temperature will be 2000°C.
Hence, the final state would be water at 2000°C.