I was reading on the Clausius statement and heat pumps. Apparently, the COP (coefficient of performance) for heat pumps can be greater than unity (1), and it usually is for several systems (depending on the conditions). So the energy transfer due to work done on the system results in a greater transfer of energy from cold to hot by heat. So that implies that the output ends up being greater than the input. I'm not completely new to the concept of higher output than input processes (there are mechanical processes that allow for such, such as pulleys). I'm just wondering how processes like these function in terms of energy.