#include<iostream>
using namespace std;
int main(){
  double data;
  while(cin>>data){
    if(data<=48.00){
      cout<<"light fly"<<endl;
    }if(data>48.00&&51.00>=data){
      cout<<"fly"<<endl;
    }if(data>51.00&&54.00>=data){
      cout<<"bantam"<<endl;
    }if(data>54.00&&57.00>=data){
      cout<<"feather"<<endl;
    }if(data>57.00&&60.00>=data){
      cout<<"light"<<endl;
    }if(data>60.00&&64.00>=data){
      cout<<"light welter"<<endl;
    }if(data>64.00&&69.00>=data){
      cout<<"welter"<<endl;
    }if(data>69.00&&75.00>=data){
      cout<<"light middle"<<endl;
    }if(data>75.00&&81.00>=data){
      cout<<"middle"<<endl;
    }if(data>81.00&&91.00>=data){
      cout<<"light heavy"<<endl;
    }if(data>91.00){
      cout<<"heavy"<<endl;
    }
  }
  return 0;
}