#include<bits/stdc++.h>
using namespace std;
int main()
{
int a;
cin>>a;
if(a%4 == 0 && a%100!=0 || a%400==0){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}
return 0;
}
/**************************************************************
Problem: 1646
User: ct001
Language: C++
Result: Accepted
Time:11 ms
Memory:2072 kb
****************************************************************/