Logan and his XOR debacle | CodeChef