A stepwise Carnot cycle is performed by means of N small weights (here called dws), which are first added and then removed from the piston of the vessel containing the gas. The work performed by the gas can be found as an increase in the potential energy of the dws. We identify each single dw and evaluate the rise;i.e. its increase in potential energy. Thus, we find how the energy output of the cycle is distributed among the dws. The size of the dws affects entropy production and, therefore, the lost and extra work. The raising distribution depends on the removal process chosen. Since these processes are N!, there are N! distributions for the raisings of the dw