#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
while((cin>>n)&&n!=NULL)
if(n%4 ==0&& (n%100)!=0|| n%400==0 ){ // 我们都知道,能 被4整除并且不能被100整除 的是闰年 能被400整除 闰年
cout<<"yes";
}
else {
cout<<"n0" ;
}
return 0;
}
using namespace std;
int main()
{
int n;
while((cin>>n)&&n!=NULL)
if(n%4 ==0&& (n%100)!=0|| n%400==0 ){ // 我们都知道,能 被4整除并且不能被100整除 的是闰年 能被400整除 闰年
cout<<"yes";
}
else {
cout<<"n0" ;
}
return 0;
}