Servants[0].EntrustWith(BagsOfGold.5)
Servants[1].EntrustWith(BagsOfGold.2)
Servants[2].EntrustWith(BagsOfGold.1)

GoOnLongJourney()

for i = [0..2]
    if Servants[i].AmountReturned
     > Servants[i].AmountEntrustedWith
        PutInChargeOf<ManyThings>(Servants[i])
        Share<MastersHappiness>(Servants[i])
    else
        ThrowOutside(Servants[i])