Steam, ice, and liquid water are all just H2O.
1.00 mole steam = 18g H2O
First you cool the steam from 135 C to 100 C, a difference of 35 C:
18 g H2O x 35 C x 2.01 J/g C = ?
Next, the steam condenses to water:
18 g H2O x 2258 J/g H2O = 40,644 J
Next, cool the water to 0C:
18 g H2O x 100 deg C x 4.184J /g-C = ? J
Next freeze the water:
18 g H2O x 333 J/g H2O = 5994 J
Next cool the ice to -45.0C:
18 g H2O x 50 C x 2.09 J/g C = ? J
Now add up all the energies to obtain final answer :