/* 
 * File:   main.cpp
 * Author: goryudyuma
 *
 * Created on 2014/12/26, 19:16
 */

#include <cstdlib>
#include <iostream>
#include <functional>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {

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