return reduce(lambda x,y:x^y, nums)