


from __future__ import annotations


def      a	(							SCREAMING_SNAKE_CASE_      :		list[float]       ):






       """simple docstring"""





       UpperCamelCase    :	Tuple   	=		0.00
       UpperCamelCase    :	Any   	=		0
       for resistor in resistors:
              if resistor <= 0:
                     UpperCamelCase    :	List[Any]   	=		F"""Resistor at index {index} has a negative or zero value!"""
                     raise ValueError(SCREAMING_SNAKE_CASE_       )
              first_sum += 1 / float(SCREAMING_SNAKE_CASE_       )
              index += 1
       return 1 / first_sum


def      a	(							SCREAMING_SNAKE_CASE_      :		list[float]       ):






       """simple docstring"""





       UpperCamelCase    :	Dict   	=		0.00
       UpperCamelCase    :	Dict   	=		0
       for resistor in resistors:
              sum_r += resistor
              if resistor < 0:
                     UpperCamelCase    :	Optional[Any]   	=		F"""Resistor at index {index} has a negative value!"""
                     raise ValueError(SCREAMING_SNAKE_CASE_       )
              index += 1
       return sum_r


if __name__ == "__main__":
  import doctest

  doctest.testmod()





from __future__ import annotations


def      a	(							SCREAMING_SNAKE_CASE_      :		list[int]       ):






       """simple docstring"""





       if len(SCREAMING_SNAKE_CASE_       ) == 0:
              return array

       UpperCamelCase	, UpperCamelCase    :	Union[str, Any]   	=		min(SCREAMING_SNAKE_CASE_       ), max(SCREAMING_SNAKE_CASE_       )

       # Compute the variables
       UpperCamelCase    :	Union[str, Any]   	=		_max - _min + 1
       UpperCamelCase	, UpperCamelCase    :	Optional[Any]   	=		[0] * holes_range, [0] * holes_range

       # Make the sorting.
       for i in array:
              UpperCamelCase    :	Optional[int]   	=		i - _min
              UpperCamelCase    :	Any   	=		i
              holes_repeat[index] += 1

       # Makes the array back by replacing the numbers.
       UpperCamelCase    :	str   	=		0
       for i in range(SCREAMING_SNAKE_CASE_       ):
              while holes_repeat[i] > 0:
                     UpperCamelCase    :	List[Any]   	=		holes[i]
                     index += 1
                     holes_repeat[i] -= 1

    # Returns the sorted array.
       return array


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  __UpperCAmelCase : Any 			=				input("Enter numbers separated by comma:\n")
  __UpperCAmelCase : int 			=				[int(x) for x in user_input.split(",")]
  print(pigeon_sort(unsorted))

