#include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { int n; cin >> n; cout << ((n % 4 == 0 && (n % 100 != 0 || n % 400 == 0)) ? "Yes" : "No") << endl; return 0; }