#include <iostream>
using namespace std;
const string kai[11] = {"light fly","fly","bantam","feather","light","light welter"
			,"welter","light middle","middle","light heavy","heavy"};

  int main(){
    double w;
      while( cin >> w ){
	if(w <= 48.00)cout << kai[0];
	else if(w <= 51.00)cout << kai[1];
	else if(w <= 54.00)cout << kai[2];
	else if(w <= 57.00)cout << kai[3];
	else if(w <= 60.00)cout << kai[4];
	else if(w <= 64.00)cout << kai[5];
	else if(w <= 69.00)cout << kai[6];
	else if(w <= 75.00)cout << kai[7];
	else if(w <= 81.00)cout << kai[8];
	else if(w <= 91.00)cout << kai[9];
	else cout << kai[10];
	cout << endl;
      }
    return 0;
  }