#include using namespace std; #define ll long long #define fi first #define se second #define ldb long double #define pii pair #define bend(v) v.begin(), v.end() const int N = 2e5 + 5, M = 1e6 + 5; const int mod = 1e9 + 7; const int base = 311; const int inf = INT_MAX; const ll INF = LLONG_MAX; int n, c = 0; void solve(){ cin>>n; int s = 0; for(int i = 1; i <= n; i++){ int x; cin>>x; if(x == -1) c++; else s ^= x; } cerr<>tc; while(tc--) solve(); }