 #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)
   {
     int kk=(int)n;
     if(kk>=91)
     {
            cout<<"heavy"<<endl;
     }  
     else if(kk>=81&&kk<91)
     {
            cout<<"light heavy"<<endl;
     }
     else if(kk>=75&&kk<81)
     {
            cout<<"middle"<<endl;
     } 
     else if(kk>=69&&kk<75)
     {
            cout<<"light middle"<<endl;
     }
     else if(kk>=64&&kk<69)
     {
            cout<<"welter"<<endl;
     } 
     else if(kk>=60&&kk<64)
     {
            cout<<"light welter"<<endl;
     } 
     else if(kk>=57&&kk<60)
     {
            cout<<"light"<<endl;
     } 
     else if(kk>=54&&kk<57)
     {
            cout<<"feather"<<endl;
     } 
     else if(kk>=51&&kk<54)
     {
            cout<<"bantam"<<endl;
     } 
     else if(kk>=48&&kk<51)
     {
            cout<<"fly"<<endl;
     } 
     else
     {
            cout<<"light fly"<<endl;       
     }             
   }
   //while(1);
   return 0;
 }