q1 = heat to raise T of solid to zero C.
q1 = mass ice x specific heat ice x delta T.
q2 = heat to melt ice at zero C to water at zero C.
q2 = mass ice x heat fusion
q3 = heat to raise T of liquid water from zero C to liquid water at 100 C.
q3 = mass water x specific heat H2O x delta T.
q4 = heat to boil water at 100 C to steam at 100 C.
q4 = mass water x heat vaporization.
q5 = heat to raise T of steam from 100 C to 169 C.
q5 = mass steam x specific heat steam x delta T.
Total = q1 + q2 + q3 + q4 + q5.