#include <iostream>
#include <vector>
#include <list>
#include <algorithm>
#include <string>
#include <stack>
#include <iomanip>
#include <numeric>
#include <queue>
#include <climits>
#include <complex>
#include <cmath>
#include <map>
using namespace std;
using ll = long long;
#define MOD 1000000007
#define INF 1LL << 59

int arr[3];
int main()
{
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);
    //cout << fixed << setprecision(3);

    double n;
    while (scanf("%lf", &n) != EOF)
    {
        if (n <= 48.0)
        {
            cout << "light fly" << endl;
        }
        else if (n > 48.0 && n <= 51.0)
        {
            cout << "fly" << endl;
        }
        else if (n > 51.0 && n <= 54.0)
        {
            cout << "bantam" << endl;
        }
        else if (n > 54.0 && n <= 57.0)
        {
            cout << "feather" << endl;
        }
        else if (n > 57.0 && n <= 60.0)
        {
            cout << "light" << endl;
        }
        else if (n > 60.0 && n <= 64.0)
        {
            cout << "light welter" << endl;
        }
        else if (n > 64.0 && n <= 69.0)
        {
            cout << "welter" << endl;
        }
        else if (n > 69.0 && n <= 75.0)
        {
            cout << "light middle" << endl;
        }
        else if (n > 75.0 && n <= 81.0)
        {
            cout << "middle" << endl;
        }
        else if (n > 81.0 && n <= 91.0)
        {
            cout << "light heavy" << endl;
        }
        else
            cout << "heavy" << endl;
    }
    return 0;
}
