1、闰年
#include <iostream>
using namespace std;
//计算闰年数
int leapyear(int year){
return((year%4==0)&&(year%100!=0)) || (year%400==0) ? 1 : 0;
}
int main(void)
{
int n;
cin >> n;
if(leapyear(n)){
cout << "yes" << endl;
}else{
cout << "no" << endl;
}
return 0;
}