#include #define mod 998244353 using namespace std; long long rep(int tg,vector a){ if(a.size()<=1){return 1;} vector a0,a1; for(auto &nx : a){ if(nx&(1ll<> n; vector a(n); for(auto &nx : a){cin >> nx;} sort(a.begin(),a.end()); a.erase(unique(a.begin(), a.end()), a.end()); cout << rep(29,a) << "\n"; return 0; }