#include #define int long long using namespace std; signed main() { int N; cin >> N; if( N%400 == 0 ) cout << "Yes" << endl; else if( N%100 == 0 ) cout << "No" << endl; else if( N%4 == 0 ) cout << "Yes" << endl; else cout << "No" << endl; }