Which of the following describes the work done by a heat engine?
A. Qin - Qout
B. Qin - W
C. Qout - Qin D. Qin + Qout