#include using namespace std; using ll=long long; using Graph=vector>; #define MOD 998244353 #define INF 1000000000 int main(){ ll N; cin>>N; bool flag=false; for(ll i=2;i*i<=N;i++){ if(N%i==0){ flag=true; break; } } if(flag){ cout<<"YES"<