#include <bits/stdc++.h>

using namespace std;

int main() {
    double w;
    while (scanf("%lf", &w) != EOF) {
        string ans;
        if (w <= 48.00) ans = "light fly";
        else if (w <= 51.00) ans = "fly";
        else if (w <= 54.00) ans = "bantam";
        else if (w <= 57.00) ans = "feather";
        else if (w <= 60.00) ans = "light";
        else if (w <= 64.00) ans = "light welter";
        else if (w <= 69.00) ans = "welter";
        else if (w <= 75.00) ans = "light middle";
        else if (w <= 81.00) ans = "middle";
        else if (w <= 91.00) ans = "light heavy";
        else ans = "heavy";

        cout << ans << endl;
    }

    return 0;
}
