#include int main(void) { unsigned long long int n,i; scanf("%llu",&n); if(n == 1){printf("NO\n");return 0;} else if(!(n%2)){printf("YES\n");return 0;} for(i = 3;i*i <= n;i+=2){ if(!(n%i)){printf("YES\n");return 0;} } printf("NO\n"); return 0; }