A bucket that weighs 3 pounds and a rope of negligible weight are used to draw water from a well that is 77 feet deep. The bucket is filled with 36 pounds of water and is pulled up at a rate of 1.7 feet per second, but water leaks out of a hole in the bucket at a rate of 0.25 pounds per second. Find the work done pulling the bucket to the top of the well.