#include<iostream>

using namespace std;

double class_w[] = {91, 81, 75, 69, 64, 60, 57, 54, 51, 48, 39};
char class_n[11][32] = {"heavy", "light heavy", "middle", "light middle", "welter", "light welter", "light", "feather", "bantam", "fly", "light fly"};

int main() {
  double w;
  while( cin >> w ) {
    int i = 0;
    while(1) {
      if(w > class_w[i]) {
	cout << class_n[i] << endl;
	break;
      }
      i++;
    }
  }

  return 0;
}