#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstring>
#include <map>
#include <queue>
#include <stack>
#include <set>
#include <functional>
#include <sstream>
#include <complex>
#include <climits>
using namespace std;

#define REP(i,a,n) for(int i=(a);i<(int)(n);i++)
#define rep(i,n) REP(i,0,n)
#define pb push_back
#define mp make_pair
#define all(x) x.begin(),x.end()
#define EPS 1e-8

int main(){
	double d;
	while(~scanf("%lf",&d)){
		if( d<=48.00 ){
			puts("light fly");
		}else if( 48.00<d && d<=51.00 ){
			puts("fly");
		}else if( 51.00<d && d<=54.00 ){
			puts("bantam");
		}else if( 54.00<d && d<=57.00 ){
			puts("feather");
		}else if( 57.00<d && d<=60.00 ){
			puts("light");
		}else if( 60.00<d && d<=64.00 ){
			puts("light welter");
		}else if( 64.00<d && d<=69.00 ){
			puts("welter");
		}else if( 69.00<d && d<=75.00 ){
			puts("light middle");
		}else if( 75.00<d && d<=81.00 ){
			puts("middle");
		}else if( 81.00<d && d<=91.00 ){
			puts("light heavy");
		}else{
			puts("heavy");
		}
	}
	return 0;
}