while line = gets
    weight = line.to_f
    cls = "heavy"
    if weight <= 48.00
        cls = "light fly"
    elsif weight <= 51.00
        cls = "fly"
    elsif weight <= 54.00
        cls = "bantam"
    elsif weight <= 57.00
        cls = "feather"
    elsif weight <= 60.00
        cls = "light"
    elsif weight <= 64.00
        cls = "light welter"
    elsif weight <= 69.00
        cls = "welter"
    elsif weight <= 75.00
        cls = "light middle"
    elsif weight <= 81.00
        cls = "middle"
    elsif weight <= 91.00
        cls = "light heavy"
    end
    puts cls
end