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