check in the solution to 'PROB Greedy Gift Givers'