How Do You Calculate The Final Temperature Of A Mixture Of Ice And Steam?

How Do You Calculate The Final Temperature Of A Mixture Of Ice And Steam? During condensation, Q2=m(steam)L(heat of vaporization) is released. When the condensed steam cools down from 100 °C to the final temperature T, Q3=c(water)m(steam)(100-T) heat is released. q1=c(ice)m(ice)(0-(-40)) is the heat needed to warm up the ice to 0°C. How do you find