One way to answer this type of question, where you don't how much (some or all) of the ice melts, is to bring all the various components to the same arbitrary final state, and then see what has to happen to maintain zero heat flow.
Lets assume that the final state is all liquid water at $0^o$ C. (Actually, the least likely result, but a convenient one!)
As others have explained, to melt all the ice, you need to add $$250\times 80=20,000 \text{ calories}$$
To cool the warm liquid water to $0^o$ C, you need to remove:$$600\times 18= 10,800\text{ calories}$$So, now you have $850$ grams of ice cold water. The only remaining problem is to restore the condition of zero heat energy flow.
If you needed to add energy, you could find out how much that energy would warm the water. In this case, you can find out how much liquid water would freeze when you removed $9200$ calories.
The method can be extended to sub-zero ice and even some super-heated steam; bring all the different states of water to one mass of water, then move it as a single "lump" wherever you need to restore zero heat flow...