#include <iostream>
using namespace std;


int main(){
  double kg;
  cin>>kg;
  if(48>=kg){
    cout<<"light fly"<<endl;
  }else if(51>=kg&&kg>48){
    cout<<"fly"<<endl;
  }else if(54>=kg&&kg>51){
    cout<<"bantam"<<endl;
  }else if(57>=kg&&kg>54){
    cout<<"feather"<<endl;
  }else if(60>=kg&&kg>57){
    cout<<"light"<<endl;
  }else if(64>=kg&&kg>60){
    cout<<"light welter"<<endl;
  }else if(69>=kg&&kg>64){
    cout<<"welter"<<endl;
  }else if(75>=kg&&kg>69){
    cout<<"light middle"<<endl;
  }else if(81>=kg&&kg>75){
    cout<<"middle"<<endl;
  }else if(91>=kg&&kg>81){
    cout<<"light heavy"<<endl;
  }else if(kg>91){
    cout<<"heavy"<<endl;
  }
 
  return 0;
}