# -*- coding: utf-8 -*-
TABLE = {
  0.0   => 'light fly',
  48.00 => 'fly',
  51.00 => 'bantam',
  54.00 => 'feather',
  57.00 => 'light',
  60.00 => 'light welter',
  64.00 => 'welter',
  69.00 => 'light middle',
  75.00 => 'middle',
  81.00 => 'light heavy',
  91.00 => 'heavy',
}

STDIN.map(&:to_f).each {|w| puts TABLE.inject(""){|c, r| w > r[0] ? r[1] : c }}