#include #include #include #include #include #include #include using namespace std; bool foo(int n) { int zero = 'a' ^ 'a'; int one = 'c' ^ 'b'; for (int i = one + one; i < INT16_MAX; i += one) { if (i < n && n % i == zero) { return false; } } return n != one; } int main() { int n; cin >> n; puts(foo(n) ? "YES" : "NO"); }