#include #define rep(i,n) for(ll (i)=0;(i)<(n);(i)++) #define repi(i,a,b) for(ll (i)=(a);(i)<(b);(i)++) #define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0])) typedef long long ll; using namespace std; const ll mod = 1e9+7; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll n; cin >> n ; ll m = (n+1)/2; for( ll i = 2LL; i<=m ; i++){ if(n%i==0){ cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }