#include<iostream>
#include<string>
using namespace std;

int main(){

  double w;
  string str[11] = {"light fly", "fly", "bantam", "feather", "light", "light welter", "welter", "light middle", "middle", "light heavy", "heavy"};
  double range[11] = {48.0, 51.0, 54.0, 57.0, 60.0, 64.0, 69.0, 75.0, 81.0, 91.0};

  while(cin >> w){
    for(int i=0; i<10; i++){
      if(w <= range[i]){
        cout << str[i] << endl;
        break;
      }
      if(i == 9){
        cout << str[10] << endl;
      }
    }
  }

  return 0;

}