#include #include #include #include #include using namespace std; typedef long long lint; typedef vectorvi; typedef pairpii; #define rep(i,n)for(int i=0;i<(int)(n);++i) const int THRESH=100; const int M=200000; int idx[M],occ[M]; vi solve(int n,int m,vi a){ vi ans; vector occ(n); int x=0; rep(i,m){ x^=a[i]; idx[i]=i; occ[i]=true; } int time=THRESH; int pos=0; while(time>0&&x<0xfffff){ //cerr<<"time="<>n>>m; vi a(n); rep(i,n)cin>>a[i]; vi ans=solve(n,m,a); rep(i,m){ cout<