#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;

#define rep(i, n) REP(i, 0, n)
#define ALL(v) v.begin(), v.end()
#define MSG(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for (int i = x; i < n; i++)
#define OP(m) cout << m << endl
typedef long long ll;
typedef unsigned long long ull;

int main()
{
    double n;
    while (cin >> n)
    {
        if (n <= 48)
            OP("light fly");
        else if (48 < n && n <= 51)
            OP("fly");
        else if (51 < n && n <= 54)
            OP("bantam");
        else if (54 < n && n <= 57)
            OP("feather");
        else if (57 < n && n <= 60)
            OP("light");
        else if (60 < n && n <= 64)
            OP("light welter");
        else if (64 < n && n <= 69)
            OP("welter");
        else if (69 < n && n <= 75)
            OP("light middle");
        else if (75 < n && n <= 81)
            OP("middle");
        else if (81 < n && n <= 91)
            OP("light heavy");
        else if (91 < n)
            OP("heavy");
    }
    return 0;
}
