#include using namespace std; #define ll long long #define endl "\n" #define rep(i, a, n) for (int i = a; i < n; ++i) int main() { int n; cin >> n; bool flag = false; if (n % 4 == 0) flag = true; if (n % 100 == 0) flag = false; if (n % 400 == 0) flag = true; cout << (flag ? "Yes" : "No") << endl; return 0; }