#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <stack>
#include <functional>
#include <iostream>
#include <map>
#include <set>
using namespace std;
typedef pair<int,int> P;
#define pu push
#define pb push_back
#define mp make_pair
#define eps 1e-7
#define INF 2000000000
int main()
{
	double tmp;
	while(cin >> tmp)
	{
		if(tmp<=48)cout << "light fly" << endl;
		else if(tmp<=51)cout << "fly" << endl;
		else if(tmp<=54)cout << "bantam" << endl;
		else if(tmp<=57)cout << "feather" << endl;
		else if(tmp<=60)cout << "light" << endl;
		else if(tmp<=64)cout << "light welter" << endl;
		else if(tmp<=69)cout << "welter" << endl;
		else if(tmp<=75)cout << "light middle" << endl;
		else if(tmp<=81)cout << "middle" << endl;
		else if(tmp<=91)cout << "light heavy" << endl;
		else cout << "heavy" << endl;
	}
	return 0;
}