#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main(){
int year;
while(cin >> year){
if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) ){
cout << "閨年" << endl;
}else{
cout << "平年" << endl;
}
}
return 0;
}
為何,到底為何一直WA