/**********************************************************************************/
/* Problem: a004 "文文的求婚" */
/* Language: CPP */
/* Result: WA(line:2) judge by this@ZeroJudge */
/* Author: tadpole655010 at 2011-09-12 20:57:16 */
/**********************************************************************************/
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
if(a%400==0){cout<<"閏年"<<endl;}
else if(a%100==0){cout<<"平年"<<endl;}
else if(a%4==0){cout<<"閏年"<<endl;}
else{cout<<"平年"<<endl;}
}