One end of a light rope is tied directly to the ceiling. A man of mass M initially at rest on the ground starts climbing the rope upto a height l. From the time he starts at rest on the ground to the time he is hanging at rest at a height l, how much work was done on the man by the rope?