#include<bits/stdc++.h>
using namespace std;
int main(){
long long n;
cout << "请输入一个数:" << endl;
cin >> n;
if(n % 4 == 0 and n % 2 != 100 or n % 100 == 0){ //记闰年公式:闰年等于那个数除以4的余数为0并且这个数除以2的余数不为100,或者这个数除以100。
cout << "是闰年" << endl;
}
else{
cout << "是平年" << endl;
}
return 0;
}