Input (grade 9): From the first law of thermodynamics, the energy output ca n't exceed the input, so
Output (grade 10): If temperatures at both ends of the Heat Pump or Refrigerator are constant and their processes reversible: