#include #include using namespace std; int main() { int N; cin >> N; long double a = N/4; long double b = N/100; long double c = N/400; if ( ceil(a) == floor(a) ) { if ( ceil(b) == floor(b)) { if ( ceil(c) == floor(c)) { cout << "Yes" << endl; } cout << "No" << endl; } cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }