A chain of mass M and length l rests on a rough table with part overhanging. The chain starts sliding down by itself if overhanging part is l3. What will be the work performed by the friction force acting on the chain at the moment it slides completely off the table?