#define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; int main(){ int N; cin >> N; bool flag = false; if(N%4 == 0){ if(!(N%100 == 0 and N%400 != 0)) flag = true; } if(flag) cout << "Yes" << endl; else cout << "No" << endl; }