#include<iostream>
int main()
{
	for (double weight; std::cin >> weight;)
	{
		std::cout << (
			weight <= 48.00 ? "light fly" :
			weight <= 51.00 ? "fly" :
			weight <= 54.00 ? "bantam" :
			weight <= 57.00 ? "feather" :
			weight <= 60.00 ? "light" :
			weight <= 64.00 ? "light welter" :
			weight <= 69.00 ? "welter" :
			weight <= 75.00 ? "light middle" :
			weight <= 81.00 ? "middle" :
			weight <= 91.00 ? "light heavy" :
			"heavy"
			) << std::endl;;
	}
	return 0;
}
