import std.stdio;
import std.string;
import std.conv;

void main(){
    while(true){
	auto s = readln();
	if(stdin.eof()) break;
	real w = to!real(chomp(s));

	if(w <= 48.0) writeln("light fly");
	else if(w <= 51.0) writeln("fly");
	else if(w <= 54.0) writeln("bantam");
	else if(w <= 57.0) writeln("feather");
	else if(w <= 60.0) writeln("light");
	else if(w <= 64.0) writeln("light welter");
	else if(w <= 69.0) writeln("welter");
	else if(w <= 75.0) writeln("light middle");
	else if(w <= 81.0) writeln("middle");
	else if(w <= 91.0) writeln("light heavy");
	else writeln("heavy");
    }
}