#include using namespace std; using ll = long long; int main(){ int n; cin >> n; if(n%2==1) cout << "NO" << endl; else cout << "YES" << endl; return 0; }