apple pie's submission of Swapping Chefs Way | CodeChef