#include using namespace std; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n, cnt = 0; cin >> n; int h = n; for(int i = 2; i <= sqrt(n); i++){ while(h % i == 0){ h /= i; cnt++; if(cnt >= 2){ cout << "YES" << endl; return 0; } } } cout << "NO" << endl; return 0; }