Find a number appearing only once using XOR.