"In a closed system (i.e. there is no transfer of matter into or out of the system), the first law states that the change in internal energy of the system (ΔU) is equal to the difference between the heat supplied to the system (Q) and the work (W) done by the system on its surroundings. (Note, an alternate sign convention, not used in this article, is to define W as the work done on the system by its surroundings): \Delta U_{\rm system} = Q - W."
January 1, 1970
https://en.wikiquote.org/wiki/Thermodynamics