



"""simple docstring"""

def 							SCREAMING_SNAKE_CASE__      (		SCREAMING_SNAKE_CASE__ :  list[int]			):



					"""simple docstring"""





					snake_case_					:		Dict 					=					len(SCREAMING_SNAKE_CASE__			)
					for i in range(SCREAMING_SNAKE_CASE__			):
										for j in range(i + 1				,    SCREAMING_SNAKE_CASE__			):
															if numbers[j] < numbers[i]:
																				snake_case_					,			snake_case_					:		List[Any] 					=					numbers[j], numbers[i]
					return numbers


if __name__ == "__main__":
			a_			   =					input('''Enter numbers separated by a comma:\n''').strip()
			a_			   =					[int(item) for item in user_input.split(''',''')]
			print(exchange_sort(unsorted))









"""simple docstring"""

def 							SCREAMING_SNAKE_CASE__      (		SCREAMING_SNAKE_CASE__ :  list			):



					"""simple docstring"""





					snake_case_					:		Optional[int] 					=					len(SCREAMING_SNAKE_CASE__			)
					for i in range(1				,    SCREAMING_SNAKE_CASE__			):
										snake_case_					:		Tuple 					=					collection[i]
										snake_case_					:		Tuple 					=					0
										snake_case_					:		str 					=					i - 1

										while low <= high:
															snake_case_					:		Optional[int] 					=					(low + high) // 2
															if val < collection[mid]:
																				snake_case_					:		List[str] 					=					mid - 1
															else:
																				snake_case_					:		str 					=					mid + 1
										for j in range(SCREAMING_SNAKE_CASE__				,    SCREAMING_SNAKE_CASE__				,    -1			):
															snake_case_					:		List[str] 					=					collection[j - 1]
										snake_case_					:		Any 					=					val
					return collection


if __name__ == "__main__":
			a_			   =					input('''Enter numbers separated by a comma:\n''').strip()
			a_			   =					[int(item) for item in user_input.split(''',''')]
			print(binary_insertion_sort(unsorted))




