Assuming the expense allocation was reflective of how they would ultimatly split the money, the bottom line effect that it had could have been achieved with a well drafted partnership agreement.
They were split into four groups based on the amount of chocolate, with the bottom group eating, on average, no chocolate each week and the top group having 63g (2.2oz) - slightly more than an average bar.