The system receives heat from the steam. The ice melts and heats up, the water and calorimeter heat up from 0 to 30°C. Meanwhile the steam cools, condenses, and turns into water:
msλs=mwcwΔt+miciΔt+mcccΔt+miLi,ms=λsΔt(mwcw+mici+mccc)+miLi= =2200(35−0)(35⋅4.2+5⋅2.1+60⋅0.4)+5⋅320=3.2 g.