A coolie X carrying a load on his head climbs up a slope and another coolie Y carrying the identical load on his head moves the same distance on a frictionless horizontal platform. Who does more work? Explain the reason.