




def 			__magic_name__				( A		:					list   ):






			'''simple docstring'''







			def merge(A		:					list,  A		:					list   ) -> list:

						def _merge():
									while left and right:
												yield (left if left[0] <= right[0] else right).pop(0   )
									yield from left
									yield from right

						return list(_merge()   )

			if len(A   ) <= 1:
						return collection
			a    =			len(A   ) // 2
			return merge(merge_sort(collection[:mid]   ),  merge_sort(collection[mid:]   )   )


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		__lowerCAmelCase		:				List[Any]       			=		input('Enter numbers separated by a comma:\n').strip()
		__lowerCAmelCase		:				List[Any]       			=		[int(item) for item in user_input.split(',')]
		print(*merge_sort(unsorted), sep=',')












import numpy as np




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







			return 1 / (1 + np.exp(-vector   ))




def 			__magic_name__				( A		:					np.array   ):






			'''simple docstring'''







			return vector * sigmoid(1.7_02 * vector   )


if __name__ == "__main__":
		import doctest

		doctest.testmod()






