r = "000111222333444455555666666777777888888888899999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
c = {"a" => "light fly", "0" => "fly","1" => "bantam","2" => "feather","3" => "light","4" => "light welter","5" => "welter","6" => "light middle","7" => "middle","8" => "light heavy","9" => "heavy"}
while a = gets
	a = (a.to_f - 0.00000000000001).to_s.split(".")[0].to_i - 48
	puts c[r[a]]
end