#include #include #include #include #include #include #define REP(i,a) for(int i = 0; i < (a); i++) using namespace std; int main(){ int n; cin >> n; if(n % 2 == 1){ cout << "Yes" << endl; }else{ if(n % 4 == 0)cout << "Yes" << endl; else cout << "No" << endl; } }