#include <iostream>

using namespace std;

int main(void){
	double table[] = {48,51,54,57,60,64,69,75,81,91};
	string cs[] = {"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
	double input;
	while(cin >> input){
		int i;
		for(i=0;i<10;i++){
			if(input<=table[i]) break;
		}
		cout << cs[i] << "\n";
	}
	return 0;
}