#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int T;cin>>T; for(;T--;) { long N; cin>>N; int t=2; while(N%t==0)t++; if(N1) { if(N%u==0)a=true; else if(t+u