def SolveEntry(group, entry):
    unit_amount = entry.amount / len(set(entry.paid_for))
    for u_id in set(entry.paid_for):
        group.users[u_id].AddToTB(unit_amount)
    group.users[entry.payer].AddToRB(entry.amount)

cb28c2680c51194c77879738563c06cf7af6a86c
<mask token>

def SolveEntry(group, entry):
    unit_amount = entry.amount / len(set(entry.paid_for))
    for u_id in set(entry.paid_for):
        group.users[u_id].AddToTB(unit_amount)
    group.users[entry.payer].AddToRB(entry.amount)
