Input (grade 13): In such a system it is essential that the refrigerant reach a sufficiently high temperature when compressed, since the second law of thermodynamics prevents heat from flowing from a cold fluid to a hot heat sink.
Output (grade 9): Usually, heat flows from a hot place to a cold place, according to the second law of thermodynamics.