apple pie's submission of Digit Sum Parities | CodeChef