#include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <bitset>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cmath>

using namespace std;

int main(){
	string Class[] = {"light fly", "fly", "bantam", "feather", "light", "light welter", "welter", "light middle", "middle", "light heavy", "heavy"};
	double Classnum[] = {0.00, 48.00, 51.00, 54.00, 57.00, 60.00, 64.00, 69.00, 75.00, 81.00, 91.00, 20000.00};
	const int NUM = 11;

	double n = 0.0;
	while(cin >> n){
		if(cin.eof()) break;
		for(int i = 1; i < NUM + 1; i++){
			if(Classnum[i] >= n){
				cout << Class[i - 1] << endl;
				break;
			}
		}
	}


	return 0;
}