There are two nonconservative forces in this situation, the work done by the person and the work done by friction - they are the only sources of work that change the total mechanical energy of the mass-Earth system.
The initial energy (assuming gravitational potential energy is initially 0) is...