Candy Splitting solutions

Candy Splitting was solved using Prolog by 1 contestant.