Niyaz Nigmatullin's submission of Xor it | CodeChef