


'''simple docstring'''

def lowerCamelCase     (     lowerCAmelCase							:      int						,						lowerCAmelCase							:      int						):





	"""simple docstring"""







	if a < 0 or b < 0:
		raise ValueError('the value of both inputs must be positive'						)
	__magic_name__			:       Any	      =	str(bin(__lowerCAmelCase						)						)[2:]  # remove the leading "0b"
	__magic_name__			:       Tuple	      =	str(bin(__lowerCAmelCase						)						)[2:]
	__magic_name__			:       Dict	      =	max(len(__lowerCAmelCase						)						,						len(__lowerCAmelCase						)						)
	return "0b" + "".join(
	    str(int('1' in (char_a, char_b)						)						)
	    for char_a, char_b in zip(a_binary.zfill(__lowerCAmelCase						)						,						b_binary.zfill(__lowerCAmelCase						)						)						)


if __name__ == "__main__":
							import doctest

							doctest.testmod()

def   lowerCamelCase__							(							__lowerCAmelCase    :    list							):




			"""simple docstring"""


			for i in range(len(__lowerCAmelCase							) - 1       ,				0       ,				-1							):
						lowerCAmelCase_         =      False

						for j in range(__lowerCAmelCase       ,				0       ,				-1							):
									if unsorted[j] < unsorted[j - 1]:
												lowerCAmelCase_      ,    lowerCAmelCase_         =      unsorted[j - 1], unsorted[j]
												lowerCAmelCase_         =      True

						for j in range(__lowerCAmelCase							):
									if unsorted[j] > unsorted[j + 1]:
												lowerCAmelCase_      ,    lowerCAmelCase_         =      unsorted[j + 1], unsorted[j]
												lowerCAmelCase_         =      True

						if not swapped:
									break
			return unsorted


if __name__ == "__main__":
			import doctest

			doctest.testmod()
			_A  =	input("Enter numbers separated by a comma:\n").strip()
			_A  =	[int(item) for item in user_input.split(",")]
			print(f"""{cocktail_shaker_sort(unsorted) = }""")



