//ethan_h #include using namespace std; #define ll long long /*void test(){ int n;cin>>n; string s;cin>>s; vectora(n); for(int i=0;i>a[i];} } */ int main(){ ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int t;cin>>t; if(t&1){ cout<<"NO";} else{ cout<<"YES";} return 0;}