#include<iostream>
using namespace std;
int main()
{
int n;
while( cin >> n )
{
if ((n & 3) == 0 && ((n % 25) != 0 || (n & 12) == 0)) if((n%4==0)&&(n%100!=0)||(n%400==0))
cout<<"閏年"<<endl; cout<<"閏年\n";
else
cout<<"平年"<<endl; cout<<"平年\n";
}
return 0;
}
#include
using namespace std;
int main()
{
int n;
while( cin >> n )
{
if ((n & 3) == 0 && ((n % 25) != 0 || (n & 12) == 0)) if((n%4==0)&&(n%100!=0)||(n%400==0))
cout<<"閏年"<<endl; cout<<"閏年\n";
else
cout<<"平年"<<endl; cout<<"平年\n";
}
return 0;
}
#include<stdio.h>
int main () {
int a;
while(scanf("%d",&a) != EOF) {
if ((a & 3) == 0 && ((a % 25) != 0 || (a & 12) == 0))
printf("閏年\n");
else
printf("平年\n");
}
return 0;
}