#include <iostream>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cmath>
#include <functional>
#include <numeric>
#define fi first
#define se second
using namespace std;
bool value(int y,int x,int R,int C){return 0<=y&&y<R&&0<=x&&x<C;}
typedef pair<int,int> pii;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long > vll;
typedef vector< vi > vvi;
double pie=acos(-1);
int INF=10000009;
int dx[4] = { 0,-1,0,1 };
int dy[4] = { -1,0,1,0 };
int main() {
    double w;
    while(true){
        if (cin.eof())break;
        cin>>w;
        if(w<=48){
            cout<<"light fly"<<endl;
        }
        else if(48<w&&w<=51){
            cout<<"fly"<<endl;
        }
        else if(51<w&&w<=54){
            cout<<"bantam"<<endl;
        }
        else if(54<w&&w<=57){
            cout<<"feather"<<endl;
        }
        else if(57<w&&w<=60){
            cout<<"light"<<endl;
        }
        else if(60<w&&w<=64){
            cout<<"light welter"<<endl;
        }
        else if(64<w&&w<=69){
            cout<<"welter"<<endl;
        }
        else if(69<w&&w<=75){
            cout<<"light middle"<<endl;
        }
        else if(75<w&&w<=81){
            cout<<"middle"<<endl;
        }
        else if(81<w&&w<=91){
            cout<<"light heavy"<<endl;
        }
        else if(91<w){
            cout<<"heavy"<<endl;}
        }
    }