#include #include #include #include #include #include #include using namespace std; #define REP2(i,m,n) for(long i=(long)m;i<(long)n;++i) #define REP(i,n) REP2(i,0,n) void yesno(bool flag){ cout<<(flag?"Yes":"No")< binary_xor_elimination(vector A[],long n,long b){ sort(A,A+n); reverse(A,A+n); vector res; REP(i,n){ long maxb=0; while(maxb base2(long x){ vector res; REP(i,64){ res.push_back(x%2); x/=2; } return res; } int main(){ long n; cin>>n; long a[n]; REP(i,n) cin>>a[i]; vector v[n]; REP(i,n) v[i]=base2(a[i]); vector bitlist=binary_xor_elimination(v,n,64); long l=bitlist.size(); cout<<(1LL<