https://www.hackerrank.com/challenges/chocolate-feast