A heat engine does 300 J of work during one cycle. In this cycle 900 J of energy is wasted.

What is the efficiency of the engine?

A. 0.25

B. 0.33

C. 0.50

D. 0.75