#include <iostream>
using namespace std;
int main(void)
{
	double we;
	while(cin >> we){
		if(we<=48) cout<<"light fly" << endl;
		else if(48<we<=51) cout<<"fly"<<endl;
		else if(51<we<=54) cout<<"bantam"<<endl;
		else if(54<we<=57) cout<<"feather"<<endl;
		else if(57<we<=60) cout<<"light"<<endl;
		else if(60<we<=64) cout<<"light welter"<<endl;
		else if(64<we<=69) cout<<"welter"<<endl;
		else if(69<we<=75) cout<<"light middle"<<endl;
		else if(75<we<=81) cout<<"middle"<<endl;
		else if(81<we<=91) cout<<"light heavy"<<endl;
		else if(91<we) cout<<"heavy"<<endl;
	}
	return 0;
}