#include using namespace std; int main() { int x; cin >> x; if(x != 2 and x % 2 == 0) { cout << "Yes" << '\n'; } else { cout << "No" << '\n'; } return 0; }