#include <stdio.h>
void outp(double a) {if (a<=48.00) puts("light fly"); else if (a<=51.00) puts("fly"); else if (a<=54.00) puts("bantam"); else if (a<=57.00) puts("feather"); else if (a<=60.00) puts("light"); else if (a<=64.00) puts("light welter"); else if (a<=69.00) puts("welter"); else if (a<=75.00) puts("light middle"); else if (a<=81.00) puts("middle"); else if (a>91.00) puts("heavy"); else puts("light heavy");}
int main() {double i;while (scanf("%lf",&i)!=EOF) outp(i);return 0;}