#include <math.h>
#include <ctype.h>
#include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, n) for (int i = a; i < n; i++)
#define REP(i, n) for(int i = 0; i < n; i++)
struct omt{omt(){ios::sync_with_stdio(false);cin.tie(0);}}star;

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


    return 0;
}
