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

struct Data{
	string name;
	int max;
};

int main(){
	Data data[11] = {
		"light fly", 48,
		"fly", 51,
		"bantam", 54,
		"feather", 57,
		"light", 60,
		"light welter", 64,
		"welter", 69,
		"light middle", 75,
		"middle", 81,
		"light heavy", 91,
		"heavy", -1,
	};
	string test = "test";
	double input;
	while (cin >> input){
		int i;
		for (i = 0; i < 10; i++){
			if (input <= data[i].max) break;
		}
		cout << data[i].name << '\n';
	}
	return 0;
}