apple pie's submission of Chef and His Fruit Stand | CodeChef