summaryrefslogtreecommitdiff
path: root/4A/main.cpp
blob: ba7d7714741f8884af4fcb127a7b28a38fcd7faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>

using namespace std;

int main(){
        int a = 0; 
        cin>>a;
        int even = (a % 2) ? 0 : 1;
        if(!even){
                cout<<"NO";
                return 0;
        }
        a -= 2;
        if(a <= 0){
                cout<<"NO";
                return 0;
        }
        cout<<"YES";
        return 0;
}