#include <iostream>
#include <algorithm>
#include <string>
using namespace std;

#define lightfly 48.00
#define fly 51.00
#define bantam 54.00
#define feather 57.00
#define light 60.00
#define lightwelter 64.00
#define welter 69.00
#define lightmiddle 75.00
#define middle 81.00
#define lightheavy 91.00
int main()
{
    double weight;
    while(cin >> weight)
    {
        if(weight <= lightfly) cout << "light fly" << endl;
        else if(weight <= fly) cout << "fly" << endl;
        else if(weight <= bantam) cout << "bantam" << endl;
        else if(weight <= feather) cout << "feather" << endl;
        else if(weight <= light) cout << "light" << endl;
        else if(weight <= lightwelter) cout << "light welter" << endl;
        else if(weight <= welter) cout << "welter" << endl;
        else if(weight <= lightmiddle) cout << "light middle" << endl;
        else if(weight <= middle) cout << "middle" << endl;
        else if(weight <= lightheavy) cout << "light heavy" << endl;
        else cout << "heavy" << endl;
    }
}