#include<iostream>

using namespace std;

int main() {
	
	double a;
	
	cin >> a;
	
	if( a < 48.00)
	cout << "light fly\n";
	
	if ( 48.00 <= a && a < 51.00)
	cout << "fly\n";
	
	if ( 51.00 <= a && a < 54.00)
	cout << "bantam\n";
	
	if ( 54.00 <= a && a < 57.00)
	cout << "feather\n";
	
	if ( 57.00 <= a && a < 60.00)
	cout << "light\n";
	
	if ( 60.00 <= a && a < 64.00)
	cout << "light welter\n";
	
	if ( 64.00 <= a && a < 69.00)
	cout << "welter\n";
	
	if ( 69.00 <= a && a < 75.00)
	cout << "light middle\n";
	
	if ( 75.00 <= a && a < 81.00)
	cout << "middle\n";
	
	if ( 81.00 <= a && a < 91.00)
	cout << "light heavy\n";
	
	if ( 91.00 <= a )
	cout << "heavy\n";
	
	return 0;
}
