#include using namespace std; //*/ #include using namespace atcoder; //*/ #define rep(i,n) for(int i=0;i; using ll = long long; using ull = unsigned long long; //*/ template inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } typedef pair pii; typedef pair pll; typedef vector vll; typedef vector vint; void solve(){ int n; cin >> n; int odd = n-n/2,even = n/2; bool ok = true; if(odd%2 == 1 || odd == 2) ok = false; if(even%4 != 0 && (even+1)%4 != 0) ok = false; if(ok) cout << "Yes" << endl; else cout << "No" << endl; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int t = 1; //cin >> t; rep(_,t) solve(); }