Andrey's submission of Sharing Candies | CodeChef