Input (grade 8): If the cyclic process moves clockwise around the loop, then W will be positive, and it represents a heat engine.
Output (grade 8): If the cyclic process moves clockwise around the loop, then it represents a heat engine, and W will be positive.