#include<iostream>
#include<string.h>
#include<string>

using namespace std;

int main(void){
	
	double weight[]={48,51,54,57,60,64,69,75,81,91};
	double n;
	string name[11]={"lght fly",
					 "fly",
					 "bantam",
					 "feather",
					 "light",
					 "light welter",
					 "welter",
					 "light middle",
					 "middle",
					 "light heavy",
					 "heavy"};

	while(scanf("%lf",&n)!=EOF){
		
		if(n<=weight[0]){
			cout<<name[0]<<endl;
		}
		else if(weight[9]<n){
			cout<<name[10]<<endl;
		}
		else{
			for(int i=0;i<sizeof(weight)-1;i++){
				if(weight[i]<n && n<=weight[i+1]){
					cout<<name[i+1]<<endl;
					break;
				}					
			}
		}
	}
}