#include using namespace std; int main() { int n; cin >> n; int f = (n % 2) ^ (n % 4 == 0); cout << (f ? "Yes" : "No") << '\n'; }