#include <iostream>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cmath>
#include <functional>
#include <numeric>
#define fi first
#define se second
using namespace std;
bool value(int y,int x,int R,int C){return 0<=y&&y<R&&0<=x&&x<C;}
typedef pair<int,int> pii;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long > vll;
typedef vector< vi > vvi;
double pie=acos(-1);
int INF=10000009;
int dx[4] = { 0,-1,0,1 };
int dy[4] = { -1,0,1,0 };
int main() {
	double w;
	int n;
	string s[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
	while(true){
		if (cin.eof())break;
		cin>>w;
		if(w<=48) n=0;
		if(48<w&&w<=51) n=1;
		if(51<w&&w<=54) n=2;
		if(54<w&&w<=57) n=3;
		if(57<w&&w<=60) n=4;
		if(60<w&&w<=64) n=5;
		if(64<w&&w<=69) n=6;
		if(69<w&&w<=75) n=7;
		if(75<w&&w<=81) n=8;
		if(81<w&&w<=91) n=9;
		if(91<w) n=10;
		cout<<s[n]<<endl;
	}
}