#include using namespace std; int main(){ int P; cin >> P; if (P % 4 != 3){ cout << "Yes" << endl; } else { cout << "No" << endl; } }