#include <cstdio>
#include<iostream>
#include<algorithm>

using namespace std;
 
int main(void){

	double inp;

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

    return 0;
}