apple pie's submission of Path Parity | CodeChef