 #include<iostream>
 #include<stdio.h>
 #include<string>
 #include<math.h>
 #include<iomanip>
 #include<algorithm>
 #include<string.h>
 #include<cctype>
 #include<map>
 #include<set>
 #include<vector>
 #include<sstream>
 #include<stack>
 #include<queue>
 
 using namespace std;
 
 int main()
 {
   double n;
   while(cin>>n)
   {
     switch(n)
     {
       case n>=91:
            cout<<"heavy"<<endl;
            continue;  
       case n>=81&&n<91:
            cout<<"light heavy"<<endl;
            continue; 
       case n>=75&&n<81:
            cout<<"middle"<<endl;
            continue; 
       case n>=69&&n<75:
            cout<<"light middle"<<endl;
            continue; 
       case n>=64&&n<69:
            cout<<"welter"<<endl;
            continue; 
       case n>=60&&n<64:
            cout<<"light welter"<<endl;
            continue; 
       case n>=57&&n<60:
            cout<<"light"<<endl;
            continue; 
       case n>=54&&n<57:
            cout<<"feather"<<endl;
            continue; 
       case n>=51&&n<54:
            cout<<"bantam"<<endl;
            continue; 
       case n>=48&&n<51:
            cout<<"fly"<<endl;
            continue; 
       default:
            cout<<"light fly"<<endl;
            continue;       
     }             
   }
   //while(1);
   return 0;
 }