#include<iostream> using namespace std; int main() { int x; cin>>x; if(x==1||x==3||x==5) cout<<"NO"; else cout<<"YES"; return 0; }