#include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <algorithm>
#include <math.h>
#include <map>
#include <iomanip>
#include <vector>
#include <queue>
#include <set>

#define PI 3.14159265359

#define INF 1000000;

#define rep(i, n) for(int i=0; i<n; i++)
#define REP(n) rep(i, n)

typedef long long ll;

using namespace std;


/*
class ElectronicPetEasy
{
public:
	string isDifficult(int st1, int p1, int t1, int st2, int p2, int t2)
	{
		
	}
};
*/




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