#include #ifdef LOCAL #include "./debug.cpp" #else #define debug(...) #define print_line #endif using namespace std; using ll = long long; int main() { int N; cin >> N; ll evs = 0, ods = 0; for (int i = 1; i <= N; i++) { if (i % 2 == 0) { evs += i; } else { ods += i; } } debug(evs, ods); puts(ods % 2 == 0 && ods > 4 ? "Yes" : "No"); }