A freezer removes 300 J of energy from a tray of water as it freezes the water and expels 340 J of energy to the surrounding kitchen air. Using Q>0 for energy entering a system, give the numerical value and sign of Q for (a) the water-ice system and (b) the surrounding kitchen air, and state in each case whether the system is being heated or cooled.