#include<stdio.h>
#include<iostream>
using namespace std;

int ft(double N)
{int f=0;
if(N<=48.00)f=11;
else if(N<=51.00)f=12;
else if(N<=54.00)f=1;
else if(N<=57.00)f=2;
else if(N<=60.00)f=3;
else if(N<=64.00)f=4;
else if(N<=69.00)f=5;
else if(N<=75.00)f=6;
else if(N<=81.00)f=7;
else if(N<=91.00)f=8;
else if(N>91.00)f=9;

return f;
}

int main()
{
int f=0;
int x;
double N;
while(scanf("%lf",&N)!=EOF)
{
f=ft(N);
switch(f){
case 11:
cout<<"light fly"<<endl;break; 

case 12:
cout<<"fly"<<endl;break; 

case 1:
cout<<"bantam"<<endl;break; 

case 2:
cout<<"feather"<<endl;break; 

case 3:
cout<<"light"<<endl;break; 

case 4:
cout<<"light welter"<<endl;break; 

case 5:
cout<<"welter"<<endl;break; 

case 6:
cout<<"light middle"<<endl;break; 

case 7:
cout<<"middle"<<endl;break; 

case 8:
cout<<"light heavy"<<endl;break; 

case 9:
cout<<"heavy"<<endl;break; 

}
}
return 0;
}