#include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { LL N; cin>>N; if(N % 4 == 0){ if(N % 100 == 0){ if(N % 400 == 0){ cout<<"Yes"<