#include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <complex>
using namespace std;

#define REP(i,n) for(int i=0;i<(int)n;++i)
#define FOR(i,c) for(__typeof((c).begin())i=(c).begin();i!=(c).end();++i)
#define ALL(c) (c).begin(), (c).end()

int main() {
  string s[] = {"fly", "bantam", "feather", "light"};
  double x;
  while(cin >> x) {
    if (x<=48) cout << "light fly";
    else if (x>60&&x<=64) cout << "light welter";
    else if (x>64&&x<=69) cout << "welter";
    else if (x>69&&x<=75) cout << "light middle";
    else if (x>75&&x<=81) cout << "middle";
    else if (x>81&&x<=91) cout << "light heavy";
    else if (x>91) cout << "heavy";
    else
      REP(i,4)
        if (x > 48+i*3 && x <= 48+(i+1)*3)
          cout << s[i];
    cout << endl;
  }
}