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