A heat engine produces 100 J of heat, does 30 J of work, and emits 70 J into a cold reservoir. What is the efficiency of the heat engine?