Input energy is defined as the work done on a machine.
Output energy is defined as the work done by a machine.
If we apply force on one end of a lever and the load is lifted from another end, the work done by us is input energy and the work done by the lever to lift the load is output energy.