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

string s[11] = {"light fly", "fly", "bantam", "feather", "light", "light welter", "welter", "light middle", "middle", "light heavy", "heavy"};
double b[11] = {48,51,54,57,60,64,69,75,81,91,1e100};

int main() {
  double w;
  while(cin >> w) cout << s[lower_bound(b,b+11,w)-b] << endl;
  return 0;
}