#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n, odd, even; cin >> n; odd = n / 2 + (n & 1); even = n / 2; cout << (odd % 4 == 0 && (even == 3 || even % 4 == 0) ? "Yes" : "No") << '\n'; }