

'''simple docstring'''
def  a__       (    _SCREAMING_SNAKE_CASE   :       list				)     ->					list:


	"""simple docstring"""





	def merge(_SCREAMING_SNAKE_CASE   :       list	,				_SCREAMING_SNAKE_CASE   :       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(_SCREAMING_SNAKE_CASE				) <= 1:
		return collection
	UpperCAmelCase_     :      Dict						=  len(_SCREAMING_SNAKE_CASE				) // 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=""",""")






'''simple docstring'''
import math






def      UpperCamelCase_				(      A__						):
	return math.sqrt(A__						) * math.sqrt(A__						) == num






def      UpperCamelCase_				(      A__						):
	a_      				=						0
	a_      				=						n
	while left <= right:
		a_      				=						(left + right) // 2
		if mid**2 == n:
			return True
		elif mid**2 > n:
			a_      				=						mid - 1
		else:
			a_      				=						mid + 1
	return False


if __name__ == "__main__":
		import doctest

		doctest.testmod()
