A uniform chain of length L and mass M overhangs a horizontal table with its two-third part on the table. The friction coefficient between the table and the chain is μ. The work done by the friction during the period, the chain slips off the table is :