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

int main() {

  double n;
  while( cin >> n ) {

    if ( n <= 48.00 ) {
      cout << "light fly";
    }else if ( n <= 51.00 ) {
      cout << "fly";
    }else if ( n <= 54.00 ) {
      cout << "bantam";
    }else if ( n <= 57.00 ) {
      cout << "feather";
    }else if ( n <= 60.00 ) {
      cout << "light";
    }else if ( n <= 64.00 ) {
      cout << "light welter";
    }else if ( n <= 69.00 ) {
      cout << "welter";
    }else if ( n <= 75.00 ) {
      cout << "light middle";
    }else if ( n <= 81.00 ) {
      cout << "middle";
    }else if ( n <= 91.00 ) {
      cout << "light heavy";
    }else {
      cout << "heavy";
    }
    cout << endl;

  }

  return 0;

}