#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
  string name[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
  double d[12]={48,51,54,57,60,64,69,75,81,91,1000};
  double x;
  while(cin >> x) {
    int t=distance(d, lower_bound(d, d+11, x));
    cout << name[t] << endl;
  }
  return 0;
}
