def 					__lowercase						(    lowerCamelCase__       )					->list:

  '''simple docstring'''




  for insert_index, insert_value in enumerate(collection[1:]       ):
    a__  		=  insert_index
    while insert_index >= 0 and insert_value < collection[insert_index]:
      a__  		=  collection[insert_index]
      insert_index -= 1
    if insert_index != temp_index:
      a__  		=  insert_value
  return collection


if __name__ == "__main__":
     from doctest import testmod

     testmod()

     _SCREAMING_SNAKE_CASE     =     input("""Enter numbers separated by a comma:\n""").strip()
     _SCREAMING_SNAKE_CASE     =     [int(item) for item in user_input.split(""",""")]
     print(F"""{insertion_sort(unsorted) = }""")


from collections.abc import Callable

_SCREAMING_SNAKE_CASE     =     Callable[[float], float]  # type alias for a real -> real function
def 					__lowercase						(    lowerCamelCase__			,					lowerCamelCase__			,					lowerCamelCase__			,					)					->float:

  '''simple docstring'''




  a__  		=  float(lowerCamelCase__       )
  while True:
    try:
      a__  		=  prev_guess - function(lowerCamelCase__       ) / derivative(lowerCamelCase__       )
    except ZeroDivisionError:
      raise ZeroDivisionError("Could not find root"       ) from None
    if abs(prev_guess - next_guess       ) < 10**-5:
      return next_guess
    a__  		=  next_guess
def 					__lowercase						(    lowerCamelCase__       )					->float:

  '''simple docstring'''




  return (x**3) - (2 * x) - 5
def 					__lowercase						(    lowerCamelCase__       )					->float:

  '''simple docstring'''




  return 3 * (x**2) - 2


if __name__ == "__main__":
     print(newton(f, fa, 3))

