#include using namespace std; #define int long long typedef pair P; int INF = 3e18; int mod = 1e9+7; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; signed main() { int A; cin >> A; if(A%2 == 1) { cout << "YES" << endl; } else { for(int i = 2; i*i <= A; i++) { if(A%i == 0 && (i%2 == 1 || (A/i)%2 == 1)) { cout << "YES" << endl; return 0; } } cout << "NO" << endl; } }