samar's submission of Maximum Candies | CodeChef