apple pie's submission of Shuffling Parities | CodeChef