What do the laws of thermodynamics state about the total energy coming out of a system compared to the total energy going into the system?

A. Energy out of a system is not correlated to energy in.
B. Energy out of a system is always more than energy in.
C. Total energy out of a system is always equal to total energy going in.
D. Total energy out of a system is always less than the total energy going in.