
def     A__   (  lowerCamelCase  )					->		list:

				def merge(lowerCamelCase       ,      lowerCamelCase  ) -> 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(lowerCamelCase  ) <= 1:
								return collection
				UpperCamelCase_:							str		=  len(lowerCamelCase  ) // 2
				return merge(merge_sort(collection[:mid]  )       ,      merge_sort(collection[mid:]  )  )


if __name__ == "__main__":
							import doctest

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








def     A__   (  lowerCamelCase       ,      lowerCamelCase  )					->		float:
				if mass < 0:
								raise ValueError("""The mass of a body cannot be negative"""  )
				return 0.5 * mass * abs(lowerCamelCase  ) * abs(lowerCamelCase  )


if __name__ == "__main__":
							import doctest

							doctest.testmod(verbose=True)






