If the work input of a machine is 30 joules, when would be it efficiency when the output is 25 joules?l

Please solve it for me please