#include<bits/stdc++.h>
using namespace std;
int main()
{
    int tmp;
    cin>>tmp;
    if((!(tmp%4)&&tmp%100)||!(tmp%400))
        cout<<"yes"<<endl;
    else
        cout<<"no"<<endl;
    return 0;
}