The Carnot cycle in a clockwise direction.
The work done by the gas during the two expansions is greater than the work done on the gas during the two compressions. The clockwise cycle describes an engine.