_Sam's submission of Expected Xor | CodeChef