#19716: __解答


CL108090806 (杜正全)


#include <iostream>
using namespace std;
//西元年被4整除且不被100整除,或被400整除者即為閏年
int main() {
int x;
while(cin>>x){
if( (x%4==0 && x%100!=0) || x%400==0){
cout<<"閏年"<<endl;
}
else{
cout<<"平年"<<endl;
}
}

// your code goes here
return 0;
}