#define _USE_MATH_DEFINES
#include<iostream>
#include<iomanip>
#include<algorithm>
#include<cctype>
#include<cmath>
#include<cstdio>
#include<deque>
#include<limits>
#include<list>
#include<set>
#include<stack>
#include<string>
#include<sstream>
#include<map>
#include<queue>
#include<vector>
using namespace std;

int main() {
	string s[11] = {
		"light fly",
		"fly",
		"bantam",
		"feather",
		"light",
		"light welter",
		"welter",
		"light middle",
		"middle",
		"light heavy",
		"heavy",
	};
	int a[12] = { 0,48,51,54,57,60,64,69,75,81,91,INT_MAX };

	for (double b; cin >> b;)
		for (int i = 0; i < 11; i++)
			if (a[i] <= b&&b < a[i + 1]) {
				cout << s[i] << endl;
				break;
			}

	return 0;
}