#include<iostream>
using namespace std;
int main(){
  double a,b;
  while(cin >> a){
    b=48.00;
    if(a<=b){
      cout << "light fly" << endl;
    }
    else if(a<=b+3){
      cout << "fly" << endl;
    }
    else if(a<=b+6){
      cout << "bantam" << endl;
    }
    else if(a<=b+9){
      cout << "feather" << endl;
    }
    else if(a<=b+12){
      cout << "light" << endl;
    }
    else if(a<=b+16){
      cout << "light welter" << endl;
    }
    else if(a<=b+21){
      cout << "welter" << endl;
    }
    else if(a<=b+27){
      cout << "light middle" << endl;
    }
    else if(a<=b+33){
      cout << "middle" << endl;
    }
    else if(a<=b+43){
      cout << "light heavy" << endl;
    }
    else{
      cout << "heavy" << endl;
    }
  }
  return (0);
}