#include using namespace std; using ll = long long; int main(){ ll n,k,v,ans=0; cin>>n>>k; vector a(n); for(int i=0;i>a[i]; ans^=a[i]; } a.push_back(ans); cout<