[Samples] Given a list of sum for each participant and the price of a gift, finds who gives what