using namespace std; #include #define BEGIN ios_base::sync_with_stdio(0);cin.tie(0); #define END return EXIT_SUCCESS; #define FOR(I,A,B) for(int (I)=(A);(I)<(B);++(I)) #define ALL(C) (C).begin(),(C).end() inline void solve() { int N; cin>>N; vector L(N); vector c(7); int k; fill(ALL(c), 0); while(N--) { cin>>k; c[k]++; } int a=0; k=0; FOR(i,0,7)k=max(k,c[i]); FOR(i,0,7)if(k==c[i])a=i; cout<