#include <iostream>
#include <string>
using namespace std;

int main() {
	double w;
	string c;
	while (cin >> w) {
		if (w <= 48.0) {
			c = "light fly";
		}
		else if (w <= 51.0) {
			c = "fly";
		}
		else if (w <= 54.0) {
			c = "bantam";
		}
		else if (w <= 57.0) {
			c = "feather";
		}
		else if (w <= 60.0) {
			c = "light";
		}
		else if (w <= 64.0) {
			c = "light welter";
		}
		else if (w <= 69.0) {
			c  = "welter";
		}
		else if (w <= 75.0) {
			c = "light middle";
		}
		else if (w <= 81.0) {
			c = "middle";
		}
		else if (w <= 91.0) {
			c = "light heavy";
		}
		else {
			c = "heavy";
		}
		cout << c << endl;
	}
	return 0;
}