




'''simple docstring'''


def 				SCREAMING_SNAKE_CASE(      __lowercase  ) ->   Tuple:
					A:		List[str]        =		len(__lowercase  )
					for i in range(length - 1  ):
										A:		Optional[Any]        =		False
										for j in range(length - 1 - i  ):
															if collection[j] > collection[j + 1]:
																				A:		Any        =		True
																				A:		List[str]        =		collection[j + 1], collection[j]
										if not swapped:
															break  # Stop iteration if the collection is sorted.
					return collection


if __name__ == "__main__":
					import doctest
					import time

					doctest.testmod()

					UpperCamelCase     =				input('''Enter numbers separated by a comma:''').strip()
					UpperCamelCase     =				[int(item) for item in user_input.split(''',''')]
					UpperCamelCase     =				time.process_time()
					print(*bubble_sort(unsorted), sep=''',''')
					print(f'Processing time: {(time.process_time() - start)%1e9 + 7}')












'''simple docstring'''


def 				SCREAMING_SNAKE_CASE(      __lowercase  ) ->   int:
     A:		str        =		str(__lowercase  ).strip()
     if not bin_string:
          raise ValueError('''Empty string was passed to the function'''  )
     A:		int        =		bin_string[0] == '''-'''
     if is_negative:
          A:		Optional[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'''  )
     A:		Any        =		0
     for char in bin_string:
          A:		Dict        =		2 * decimal_number + int(__lowercase  )
     return -decimal_number if is_negative else decimal_number


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

     testmod()






