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