Original: From the first law of thermodynamics, the energy output ca n't exceed the input, so
Simplified: If temperatures at both ends of the Heat Pump or Refrigerator are constant and their processes reversible: