int main() { int x; std::cin >> x; std::cout << (x % 2 == 0 && x > 2 ? "YES\n" : "NO\n"); return 0; }