#include<iostream>intmain(int argc, char **argv){
int parity = 0;
int x;
//you can use scanf , printf alternatively for speedstd::ios::sync_with_stdio(false);// this increases the speed of i/owhile (std::cin >> x)
parity ^= x;
std::cout << parity << std::endl;
return0;
}