#include using namespace std; int main() { int a; cin >> a; int b = 2; if(a > 0) { while (b < a) { b *= 2; } } else { b *= -1; while (b > a) { b *= 2; } } if(b == a) { cout << "NO" << endl; return 0; } cout << "YES" << endl; return 0; }