#include <bits/stdc++.h>
#define rep(i,l,n) for(int i=l;i<n;i++)
using namespace std;

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