#include using namespace std; using ll=long long; using Graph=vector>; #define MOD 998244353 #define INF 1000000000 int main(){ ll N; cin>>N; int count=0; ll i=2; while(i*i<=N){ if(N%i==0){ N/=i; count++; }else{ i++; } } if(count>0){ cout<<"YES"<