#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; cout << ((A != 1)?"YES":"NO") << endl; }