#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
int main() {
	double n;
	while (cin >> n) {
		if (n > 60) {
			//60超
			if (n > 75) {
				if (n > 81) {
					//91-
					if(n>91)cout << "heavy" << endl;
					//81-91
					else cout << "light heavy" << endl;
				}//75-81
				else cout << "middle" << endl;
			}
			//60超75以下
			else if (n > 69)//69-75
				cout << "light middle" << endl;
			else if(n>64)//64-69
				cout << "welter" << endl;
			else //60-64
				cout << "light welter" << endl;
		}
		else {
			//60以下
			if (n > 51) {
				if (n > 54) {
					if(n>57)//57-60
						cout << "light" << endl;
					else//54-57
						cout << "feather" << endl;
				}else//54-51
					cout << "bantam" << endl;
			}
			else {
				//51以下
				if (n > 48)//51-48
					cout << "fly" << endl;
				else //-48
					cout << "light fly" << endl;
			}
		}
	}
	return 0;
}
