"""simple docstring"""






def SCREAMING_SNAKE_CASE__    (     __UpperCAmelCase				)						->						int:
   lowercase__:     Optional[Any]      =   str(__UpperCAmelCase				).strip()
   if not bin_string:
      raise ValueError('''Empty string was passed to the function'''				)
   lowercase__:     List[Any]      =   bin_string[0] == '''-'''
   if is_negative:
      lowercase__:     Any      =   bin_string[1:]
   if not all(char in '''01''' for char in bin_string				):
      raise ValueError('''Non-binary value was passed to the function'''				)
   lowercase__:     int      =   0
   for char in bin_string:
      lowercase__:     Any      =   2 * decimal_number + int(__UpperCAmelCase				)
   return -decimal_number if is_negative else decimal_number


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

       testmod()

"""simple docstring"""






def SCREAMING_SNAKE_CASE__    (     __UpperCAmelCase				)						->						Optional[int]:
   lowercase__:     str      =   [7_0_1, 3_0_1, 1_3_2, 5_7, 2_3, 1_0, 4, 1]
   for gap in gaps:
      for i in range(__UpperCAmelCase ,					len(__UpperCAmelCase				)				):
         lowercase__:     Any      =   collection[i]
         lowercase__:     Tuple      =   i
         while j >= gap and collection[j - gap] > insert_value:
            lowercase__:     List[str]      =   collection[j - gap]
            j -= gap
         if j != i:
            lowercase__:     List[str]      =   insert_value
   return collection


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

       testmod()
       __A         =				input("Enter numbers separated by a comma:\n").strip()
       __A         =				[int(item) for item in user_input.split(",")]
       print(shell_sort(unsorted))
