// #pragma GCC optimize("O3,unroll-loops") #include // #include using namespace std; #if __cplusplus >= 202002L using namespace numbers; #endif int main(){ cin.tie(0)->sync_with_stdio(0); cin.exceptions(ios::badbit | ios::failbit); int n; cin >> n; if(n >= 7 && ~(n + 1 >> 1) & 1 && 1LL * (n / 2) * (n / 2 + 1) / 2 % 2 == 0){ cout << "Yes\n"; } else{ cout << "No\n"; } return 0; } /* */