https://www.hackerrank.com/challenges/candies