#include int main(){ int n; scanf("%d", &n); while(n > 1 && n % 2 == 0){ n /= 2; } if(n == 1) printf("NO\n"); else printf("YES\n"); return 0; }