A certain heat engine does 30.2 kJ of work and dissipates 9.14 kJ of waste heat in a cyclical process.
A) What was the heat input to this engine?
B) What was its efficiency?