#include<bits/stdc++.h>
using namespace std;

typedef long long int ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pair<int, int> > vii;
#define rrep(i, m, n) for(int (i)=(m); (i)<(n);  (i)++)
#define  rep(i, n)    for(int (i)=0; (i)<(n);  (i)++)
#define  rev(i, n)    for(int (i)=(n)-1; (i)>=0; (i)--)
#define vrep(i, c)    for(__typeof((c).begin())i=(c).begin(); i!=(c).end(); i++)
#define  ALL(v)       (v).begin(), (v).end()
#define mp            make_pair
#define pb            push_back
template<class T1, class T2> inline void minup(T1& m, T2 x){ if(m>x) m=static_cast<T2>(x); }
template<class T1, class T2> inline void maxup(T1& m, T2 x){ if(m<x) m=static_cast<T2>(x); }

#define INF 1000000000
#define MOD 1000000009
#define EPS 1E-9

double x;

int main()
{
  while(cin >> x){
    if(x <= 48.00){          cout << "light fly"    << endl;  continue; }
    if(48.00<x && x<=51.00){ cout << "fly"          << endl;  continue; }
    if(51.00<x && x<=54.00){ cout << "bantam"       << endl;  continue; }
    if(54.00<x && x<=57.00){ cout << "feather"      << endl;  continue; }
    if(57.00<x && x<=60.00){ cout << "light"        << endl;  continue; }
    if(60.00<x && x<=64.00){ cout << "light welter" << endl;  continue; }
    if(64.00<x && x<=69.00){ cout << "welter"       << endl;  continue; }
    if(69.00<x && x<=75.00){ cout << "light middle" << endl;  continue; }
    if(75.00<x && x<=81.00){ cout << "middle"       << endl;  continue; }
    if(81.00<x && x<=91.00){ cout << "light heavy"  << endl;  continue; }
    if(91.00<x){             cout << "heavy"        << endl;  continue; }
  }

  return 0;
}