#include <bits/stdc++.h>
using namespace std;
using namespace chrono;

int main()
{
	int64_t n;
	cin >> n;

	cout << ((n != 1) ? "YES" : "NO") << endl;

	return 0;
}