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