Tomaz Hocevar's submission of Xor it | CodeChef