#include <iostream>

using namespace std;

int main(){
  string box[11] ={
	"light fly","fly","bantam",
	"feather","light","light welter",
	"welter","light middle","middle",
	"light heavy","heavy",
  };
  double w_in,w[] = {48,3,3,3,3,4,5,6,6,10};
  
  while(cin >> w_in){
	int ans = 0;
	while( w_in > 0 && ans != 11 ){
	  w_in -= w[ans];
	  ans++;
	}
	cout << box[ans-1] << endl;
  }
  return 0;
}