#include<iostream>
#include<string>
using namespace std;
double t[11][2]={
	{-9999999.9999999,48.0},
	{48.0,51.0},
	{51.0,54.0},
	{54.0,57.0},
	{57.0,60.0},
	{60.0,64.0},
	{64.0,69.0},
	{69.0,75.0},
	{75.0,81.0},
	{81.0,91.0},
	{91.0,9999999.9999999},
};
string str[11]={
	"light fly",
	"fly",
	"bantam",
	"feather",
	"light",
	"light welter",
	"welter",
	"light middle",
	"middle",
	"light heavy",
	"heavy"
};
int main(){
	double in;
	while(cin>>in){
		for(int i=0;i<11;i++){
			if(t[i][0]<in&&in<=t[i][1]){
				cout<<str[i]<<endl;
				break;
			}
		}
	}
	return 0;
}