apple pie's submission of Chef and Candies | CodeChef