#include using namespace std; int main( int argc, char *argv[] ) { int N; ios::sync_with_stdio( false ); cin.tie( 0 ); cin >> N; if( N % 4 != 0 ) cout << "No" << endl; else if( N % 100 != 0 ) cout << "Yes" << endl; else if( N % 400 != 0 ) cout << "No" << endl; else cout << "Yes" << endl; return 0; }