#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if((int)a%2) cout<<"NO"; else cout<<"YES"; return 0; }