题目链接:点击这里
#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main()
{
int n, res = 0;
scanf("%d", &n);
while(n--)
{
int x;
scanf("%d", &x);
res ^= x;
}
if(res != 0) puts("Yes");
else puts("No");
return 0;
}