#include #include int main(void){ int i = 3, x, flg = 0; long long N; scanf("%lld", &N); x = (int)floor(sqrt((double)N)); if(N<=3){ printf("NO\n"); }else if(N%2==0){ printf("YES\n"); }else{ while(i<=x){ if(N%i==0){ printf("YES\n"); flg = 1; break; } i = i + 2; } if(!flg) printf("NO\n"); } return 0; }