#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <sstream>
#include <vector>
#include <string>
#include <iomanip>
#include <bitset>
#define INF	100000000
#define pb	push_back
#define fi first
#define sec second
#define SS stringstream
using namespace std;
typedef pair<int, int> P;
typedef long long int	ll;

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