#include int main() { int N; std::cin >> N; int no = (N + 1) / 2, ne = N / 2; if (no % 2 == 0 and no > 2 and (ne % 4 == 0 or ne % 4 == 3)) { puts("Yes"); } else { puts("No"); } }