#include <iostream>
#include <string>
const double INF = 9999999999999999;
using namespace std;

const string kaikyu[] = {"light fly", "fly", "bantam", "feather", "light",
                         "light welter", "welter", "light middle", "middle",
                         "light heavy", "heavy" };
const double hikaku[] = {48, 51, 54, 57, 60, 64, 69, 75, 81, 91, INF};

int main(void) {
  double weight;
  while (cin >> weight) {
    int i = 0;
    while (hikaku[i] < weight) {
      i++;
    }
    cout << kaikyu[i] << endl;
  }

  return 0;
}