#include <bits/stdc++.h> using namespace std; int main() { int a; cin >> a; cout << (a == 1 ? "NO" : "YES") << "\n"; return 0; }