#include #include using namespace std; int a[150010]; vector v[3340000]; int main(){ int i,j,n,m; cin >> n; for(i=0;i> a[i]; } m = n; n = min(n,22); int val = -1; for(i=0;i<(1<