#include //eolibraries #define lnf 3999999999999999999 #define inf 999999999 #define fi first #define se second #define pb push_back #define ll long long #define ld long double #define all(c) (c).begin(),(c).end() #define sz(c) (int)(c).size() #define make_unique(a) sort(all(a)),a.erase(unique(all(a)),a.end()); #define rep(i,n) for(int i=0;i=0;i--) #define crep(i,x,n) for(int i=x;i #define _3sSOzgI ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0) //eodefine using namespace std; using pii=pair; using vi=vec(int); const int mxn=12000; vi rabbits={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61}; const int m=sz(rabbits); void slv(){ int n; cin>>n; auto findmagic=[&](ll g,ll x){ ll l=1,r=x,c=-1; if(g>=70){ return c=1; } while(l<=r){ ll m=(l+r)/2; ll jj=g; ll y=1; bool pok=1; while(jj>0){ if(y>x/m){ pok=0; break; } y*=m; jj=jj-1; } if(pok){ c=m; l=m+1; }else{ r=m-1; } } return c; }; auto f=[&](ll x){ ll sum=0; crep(msk,1,(1<70){ caughtone=1; break; } } } int k=__builtin_popcount(msk); // cout<=n){ r=m-1; }else{ c=m; l=m+1; } } cout<>t; rep(cs,t){ slv(); } // return 0; }