#include <bits/stdc++.h>
main(){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={0,48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};while(std::cin>>*f){int i=0;for(;*f>f[i++];){}printf("%s\n",s[i-1]);}}