#include using namespace std; //int Yuki0036() int main() { long long i; long long N; cin >> N; if( N > 2 && N % 2 == 0 ) { cout << "YES" << endl; return 0; } for( i = 3; i * i <= N; i += 2 ) { if( N % i == 0 ) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; return 0; }