N=int(input()) A=list(map(int,input().split())) def solve(N,A): xor=0 for a in A: xor^=a if xor: return "No" if N>=15: return "Yes" else: for bit in range(1,(1<