#include <iostream>
#include <cstdio>
#include <vector>
#include <list>
#include <algorithm>
#include <cmath>
#include <stack>
#include <map>
using namespace std;

#define REP(i,n) for(int (i)=0; (i)<(n); (i)++)
#define FOR(i,a,b) for(int (i)=(a); (i)<(b); (i)++)
#define PUSH(n,v) for(int i=0; i<(n); i++) {int j; cin >> j; v.push_back(j);}
#define ALL(v) v.begin(), v.end()

void printClass(double d) {
    if (d <= 48) {
        cout << "light fly" << endl;
    }else if (d <= 51) {
        cout << "fly" << endl;
    }else if (d <= 54) {
        cout << "bantam" << endl;
    }else if (d <= 57) {
        cout << "feather" << endl;
    }else if (d <= 60) {
        cout << "light" << endl;
    }else if (d <= 64) {
        cout << "light welter" << endl;
    }else if (d <= 69) {
        cout << "welter" << endl;
    }else if (d <= 75) {
        cout << "light middle" << endl;
    }else if (d <= 81) {
        cout << "middle" << endl;
    }else if (d <= 91) {
        cout << "light heavy" << endl;
    }else {
        cout << "heavy" << endl;
    }
}

int main() {
    double w;
    while(cin >> w) {
        printClass(w);
    }
    return 0;
}