#include <bits/stdc++.h>
using namespace std;

using db = double;
using ll = long long;
using vi = vector <int>;
#define op operator
#define pb push_back

string f(db x) {
	if(x <= 48) return "light fly";
	if(x <= 51) return "fly";
	if(x <= 54) return "bantam";
	if(x <= 57) return "feather";
	if(x <= 60) return "light";
	if(x <= 64) return "light welter";
	if(x <= 69) return "welter";
	if(x <= 75) return "light middle";
	if(x <= 81) return "middle";
	if(x <= 91) return "light heavy";
	return "heavy";
}

int main() {
	ios :: sync_with_stdio(0);

	for(db x; cin >> x; )
		cout << f(x) << '\n';

	return 0;
}