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