All the solutes considered show preference for being adsorbed at the surface of both liquid water and ice. The free energy gain of this adsorption relative to the isolated state of the solute molecule is found to be independent of the state (i.e., liquid vs. frozen) of the condensed phase, and it is larger for solutes that are able to form stronger or more hydrogen bonds with the water molecules at the surface. On the other hand, the free energy gain of the adsorption from the bulk liquid phase is found to be stronger for solutes exhibiting stronger amphiphilic character. The solvation free energy of all the solutes studied is found to be considerably higher in ice than in bulk liquid water. The results obtained have several implications on the chemistry of the atmosphere, which are also discussed in the paper.