#include<iostream>
#include<cstdio>

using namespace std;

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