#include<bits/stdc++.h>
using namespace std;
int main()
{
int year,sum=0;
vector<int> v;
while(true)
{
cin>>year;
if(year==0)
{
break;
}
else
{
v[sum]=year;
sum=sum+1;
}
}
for(int i=0;i<v.size();i=i+1)
{
if((v[i]%4==0 and v[i]%100!=0) or (v[i]%400==0))
{
cout<<"a leap year"<<endl;
}
else
{
cout<<"a normal year"<<endl;
}
}
return 0;
} |