#include<iostream>
using namespace std;
    bool isleapyear(int n){
        if(n%400==0||(n%4==0&&n%100!=0))return true;
        return false;
    }
int main(){
    int n;
    cin >> n;
    if(isleapyear(n)){
        cout << "yes" << endl;
    }
    else{
        cout << "no" << endl;
    }
    return 0;
}