#include <iostream>
using namespace std;
int main(void){
 double w;
  while(cin >> w){
    string s;
   if(w <= 48.0) s="light fly";
   else if(w <= 51.0) s = "fly";
   else if(w <= 54.0) s = "bantam";
   else if(w <= 57.0) s = "feather";
   else if(w <= 60.0) s = "light";
   else if(w <= 64.0) s = "light welter";
   else if(w <= 69.0) s = "welter";
   else if(w <= 75.0) s = "light middle";
   else if(w <= 81.0) s = "middle";
   else if(w <= 91.0) s = "light heavy";
   else  s = "heavy";
   cout<<s<<endl;
   }
   return 0;
 }
