#include <iostream>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cmath>
#include <functional>
#include <numeric>
#define fi first
#define se second
using namespace std;
bool value(int y,int x,int R,int C){return 0<=y&&y<R&&0<=x&&x<C;}
typedef pair<int,int> pii;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long > vll;
typedef vector< vi > vvi;
double pie=acos(-1);
int INF=10000009;
int dx[4] = { 0,-1,0,1 };
int dy[4] = { -1,0,1,0 };
int main() {
	double w;
	while(true){
		cin>>w;
		if(w<=48.00){
			cout<<"light fly"<<endl;
		}
		if(48.00<w&&w<=51.00){
			cout<<"fly"<<endl;
		}
		if(51.00<w&&w<=54.00){
			cout<<"bantam"<<endl;
		}
		if(54.00<w&&w<=57.00){
			cout<<"feather"<<endl;
		}
		if(57.00<w&&w<=60.00){
			cout<<"light"<<endl;
		}
		if(60.00<w&&w<=64.00){
			cout<<"light welter";
		}
		if(64.00<w&&w<=69.00){
			cout<<"welter"<<endl;
		}
		if(69.00<w&&w<=75.00){
			cout<<"light middle"<<endl;
		}
		if(75.00<w&&w<=81.00){
			cout<<"middle"<<endl;
		}
		if(81.00<w&&w<=91.00){
			cout<<"light heavy"<<endl;
		}
		if(91.00<w){
			cout<<"heavy"<<endl;
		}
	}
}