C = { 
  48 => 'light fly',
  51 => 'fly',
  54 => 'bandam',
  57 => 'feather',
  60 => 'light',
  64 => 'light welter',
  69 => 'welter',
  75 => 'light middle',
  81 => 'middle',
  91 => 'light heavy',
  9999 => 'heavy'
}

while s = gets
  w = s.to_f
  n = nil 
  C.sort.each { |k, v|
    if w <= k
      n = v 
      break
    end 
  }
  n = C[9999] if n.nil?

  puts n
end