Ivan's submission of Expected Xor | CodeChef