



def      __lowercase       (			a__       )    ->			list:

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


if __name__ == "__main__":
			import doctest

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











lowerCAmelCase__		:					Optional[int]							=9.80_665






def      __lowercase       (			a__							,       a__							,       a__ = g       )    ->			float:

							if fluid_density <= 0:
														raise ValueError('Impossible fluid density'       )
							if volume < 0:
														raise ValueError('Impossible Object volume'       )
							if gravity <= 0:
														raise ValueError('Impossible Gravity'       )

							return fluid_density * gravity * volume


if __name__ == "__main__":
			import doctest

			# run doctest
			doctest.testmod()






