#include #include #include #include #include #include #include #include using namespace std; #define REP(i,a,b) for(i=a;i> n; char cnt = 0; static int e[1000000]; prime_rekkyo(e,10000005); for(j=0;e[j]*e[j] <= n;j++) { if(n % e[j] == 0) cnt++; } if(cnt > 2) cout << "YES" << endl; else cout << "NO" << endl; return 0; }