c = {
  "heavy" => 91..1e10,
  "light heavy" => 81...91,
  "middle" => 75...81,
  "light middle" => 69...75,
  "welter" => 64...69,
  "light welter" => 60...64,
  "light" => 57...60,
  "feather" => 54...57,
  "bantam" => 51...54,
  "fly" => 48...51,
  "light fly" => 0...48,
}

while s = gets
  c.each do |k, v|
    puts k if v.include? s.to_f
  end
end