#include #define rep(i,s,n) for(int i=s;i>n>>k; ll a[n]; ll sum[n+1]; sum[0]=0; rep(i,0,n){ cin>>a[i]; sum[i+1]=sum[i]^a[i]; } rep(i,0,n+1){ rep(j,i+1,n+1){ if(sum[i]^sum[j]==k){ cout<<"Yes"<