#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

string s[11]={"light fly","fly","bantam","feather",
	"light","light welter","welter","light middle",
	"middle","light heavy","heavy"};
double g[]={48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0};

int main(){
	double n;
	while(cin >> n){
		int m;
		for(m = 0;m < 11 && n > g[m];m++);
		cout << s[m] << endl;
	}
	return 0;
}

/*
60.2
70.2
48.0
80.2
*/