apple pie's submission of Xor and Multiply | CodeChef