#include using namespace std; int main() { int N; cin >> N; if (N % 400 == 0) return cout << "Yes" << "\n", 0; if (N % 100 == 0) return cout << "No" << "\n", 0; cout << ((N % 4) ? "No" : "Yes") << "\n"; }