#include <iostream>
using namespace std;

const char *str[] = {
    "light fly","fly","bantam","feather","light","light welter",
    "welter","light middle","middle","light heavy","heavy"
};
const double n[] = { 48,51,54,57,60,64,69,75,81,91 };

#define REP(i, n)       REPEAT(i, 0, n)
#define REPEAT(i, k, n) for (int i = (k); i < (n); ++i)
#define ESIZEOF(A)      (sizeof(A)/sizeof((A)[0]))

int main(){
    double d;
    while(cin >> d){
        REP(i,ESIZEOF(n)){
            if(d <= n[i]){
                cout << str[i] << endl;
                break;
            }
        }
    }
    return 0;
}