The mass of a bucket containing water is M0. The bucket is pulled steadily up from a well of depth d. Due to a hole in the bucket the water is pouring out at a uniform rate and as a result the mass of the bucket with water at the top of the well reduces to M. Then the amount of work done in pulling up the bucket is?