#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <queue>
#include <climits>
#include <map>
#include <stack>
using namespace std;
#define M_PI 3.141592
#define toRad 2.0*M_PI/360.0
#define inin(x) int x;cin>>x;
#define all(x) x.begin(),x.end()
#define debug(x) cout<<#x<<" "<<x<<endl;
#define rep(i,n) for(int i=0;i<(int)n;i++)
typedef pair<int, int> pii;

int main()
{
	double a[11] = { 48,51,54,57,60,64,69,75,81,91,9999999999999 };
	string s[11] = { "light fly","fly","bantam","feather","light","light welter","light middle","middle","light heavy","heavy" };
	double x;
	while (cin >> x)
	{
		for (int i = 0; i < 11; i++)
		{
			if (x <= a[i])
			{
				cout << s[i] << endl;
				break;
			}
		}
	}
}