#33266: easy


yp11151151@yphs.tp.edu.tw (908-37陳祈佑)


#include <iostream>
using namespace std;
int main(){
    int year;
    while(cin>>year)
       if(year%4==0&&year%100!=0||year% 400==0) cout<<"閏年"<<endl;
    else cout<<"平年"<<endl;
}