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

void showClassification(double w);

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

void showClassification(double w)
{
    if(islessequal(w, 48.00))
    {
        cout << "light fly" << endl;
    }
    else if(isgreater(w, 48.00) && islessequal(w, 51.00))
    {
        cout << "fly" << endl;
    }
    else if(isgreater(w, 51.00) && islessequal(w, 54.00))
    {
        cout << "bantam" << endl;
    }
    else if(isgreater(w, 54.00) && islessequal(w, 57.00))
    {
        cout << "feather" << endl;
    }
    else if(isgreater(w, 57.00) && islessequal(w, 60.00))
    {
        cout << "light" << endl;
    }
    else if(isgreater(w, 60.00) && islessequal(w, 64.00))
    {
        cout << "light welter" << endl;
    }
    else if(isgreater(w, 64.00) && islessequal(w, 69.00))
    {
        cout << "welter" << endl;
    }
    else if(isgreater(w, 69.00) && islessequal(w, 75.00))
    {
        cout << "light middle" << endl;
    }
    else if(isgreater(w, 75.00) && islessequal(w, 81.00))
    {
        cout << "middle" << endl;
    }
    else if(isgreater(w, 81.00) && islessequal(w, 91.00))
    {
        cout << "light heavy" << endl;
    }
    else
    {
        cout << "heavy" << endl;
    }
}