main = interact $ unlines . map (class_ . read) . lines
class_ n
 |             n <= 48.0 = "light fly"
 | 48.0 < n && n <= 51.0 = "fly"
 | 51.0 < n && n <= 54.0 = "bantam"
 | 54.0 < n && n <= 57.0 = "feather"
 | 57.0 < n && n <= 60.0 = "light"
 | 60.0 < n && n <= 64.0 = "light welter"
 | 64.0 < n && n <= 69.0 = "welter"
 | 69.0 < n && n <= 75.0 = "light middle"
 | 75.0 < n && n <= 81.0 = "middle"
 | 81.0 < n && n <= 91.0 = "light heavy"
 | 91.0 < n              = "heavy"