#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
#include<list>
using namespace std;
int inf = 1000000000;


int main(void) {

  string s[11] = {"light fly", "fly", "bantam", "feather", "light", "light welter", "welter", "light middle", "middle", "light heavy", "heavy"};

  double w;
  while(cin >> w){

    if( w <= 48.00 ) cout << s[0] << endl;
    else if( w <= 51.00 ) cout << s[1] << endl;
    else if( w <= 54.00 ) cout << s[2] << endl;
    else if( w <= 57.00 ) cout << s[3] << endl;
    else if( w <= 60.00 ) cout << s[4] << endl;
    else if( w <= 64.00 ) cout << s[5] << endl;
    else if( w <= 69.00 ) cout << s[6] << endl;
    else if( w <= 75.00 ) cout << s[7] << endl;
    else if( w <= 81.00 ) cout << s[8] << endl;
    else if( w <= 91.00 ) cout << s[9] << endl;
    else cout << s[10] << endl;
  }

  return 0;
}

// EOF