#include <iostream>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <string>
#define rep(x,to) for(int x=0;x<to;x++)
#define rep2(x,from,to) for(int x=from;x<to;x++)

using namespace std;




int main(void){
 
double wg;
string nm;

	while( cin >> wg){
		if(wg <= 48.0) nm = "light fly";
		else if(wg <= 51.0) nm = "fly";
		else if(wg <= 54.0) nm = "bantam";
		else if(wg <= 57.0) nm = "feather";
		else if(wg <= 60.0) nm = "light";
		else if(wg <= 64.0) nm = "light welter";
		else if(wg <= 69.0) nm = "welter";
		else if(wg <= 75.0) nm = "light middle";
		else if(wg <= 81.0) nm = "middle";
		else if(wg <= 91.0) nm = "light heavy";
		else  nm = "heavy";
	
		cout << nm << endl;
	}	
	
	return 0;
}