#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <list>
#include <utility>
#include <numeric>

using namespace std;
typedef long long llong;
typedef unsigned long long ullong;

const ullong MOD = 1000000000 + 7;

int main()
{
	double x;
	for (; cin >> x;)
	{
		if (x <= 48.0)
		{
			cout << "light fly" << endl;
		}
		else if (48.0 < x && x <= 51.0)
		{
			cout << "fly" << endl;
		}
		else if (51.0 < x && x <= 54.0)
		{
			cout << "bantam" << endl;
		}
		else if (54.0 < x && x <= 57.0)
		{
			cout << "feather" << endl;
		}
		else if (57.0 < x && x <= 60.0)
		{
			cout << "light" << endl;
		}
		else if (60.0 < x && x <= 64.0)
		{
			cout << "light welter" << endl;
		}
		else if (64.0 < x && x <= 69.0)
		{
			cout << "welter" << endl;
		}
		else if (69.0 < x && x <= 75.0)
		{
			cout << "light middle" << endl;
		}
		else if (75.0 < x && x <= 81.0)
		{
			cout << "middle" << endl;
		}
		else if (81.0 < x && x <= 91.0)
		{
			cout << "light heavy" << endl;
		}
		else
		{
			cout << "heavy" << endl;
		}
	}
}
