#include #include #include #include using namespace std; using ll = long long; int N; int main(){ cin >> N; if(N % 4 == 3 || N % 4==0 || N %4 == 1){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }