#include using namespace std; int main(void){ // Your code here! int Year; cin >> Year; if(Year % 4 == 0){ if( Year % 100 == 0){ if( Year % 400 == 0){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }else{ cout<< "Yes" << endl; } }else{ cout << "No" << endl; } }