#include<bits/stdc++.h>
using namespace std;
int main(){
  
  double a;
  
  while(cin >> a){
    
    if(a <= 48.00) printf("light fly\n");
    else if(a <= 51.00) printf("fly\n");
    else if(a <= 54.00) printf("bantam\n");
    else if(a <= 57.00) printf("feather\n");
    else if(a <= 60.00) printf("light\n");
    else if(a <= 64.00) printf("light welter\n");
    else if(a <= 69.00) printf("welter\n");
    else if(a <= 75.00) printf("light middle\n");
    else if(a <= 81.00) printf("middle\n");
    else if(a <= 91.00) printf("light heavy\n");
    else printf("heavy\n");
  
  }

  return (0);
}
    