#encoding:utf-8 No.0048 2014.10.2
def judge_class(n)
  if n <= 48.00
    return "light fly"
  elsif n > 48.00 && n <= 51.00
    return "fly"
  elsif n > 51.00 && n <= 54.00
    return "bantam"
  elsif n > 54.00 && n <= 57.00
    return "feather"
  elsif n > 57.00 && n <= 60.00
    return "light"
  elsif n > 60.00 && n <= 64.00
    return "light welter"
  elsif n > 64.00 && n <= 69.00
    return "welter"
  elsif n > 69.00 && n <= 75.00
    return "light middle"
  elsif n > 75.00 && n <= 81.00
    return "middle"
  elsif n > 81.00 && n <= 91.00
    return "light heavy"
  else
    return "heavy"
  end
end

while gets
  puts judge_class($_.to_f)
end