#include <string>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <vector>
#include <queue>
#include <set>
#include <utility>
#include <algorithm>
#include <numeric>
#include <iostream>

using namespace std;
template<class T> T gcd(T a, T b) { return b ? gcd(b, a % b) : a; }

string s[] = {"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
double t[] = {48,51,54,57,60,64,69,75,81,91};

int main()
{
	double d;
	while(cin>>d){
		int i = lower_bound(t,t+sizeof(t) / 8,d)-t;
		cout << s[i] << endl;
	}
}