Hacker Rank : Chocolate Feast