#include #include #include using namespace std; typedef long long ll; ll f(ll x) { if (x % 2 == 0) return x / 2; for (int i = 3; i <= x; i += 2) if (x % i == 0) return x / i; return 1; } int main() { ll N; cin >> N; if (f(f(N)) > 1) { cout << "YES" << endl; } else { cout << "NO" << endl; } }