
def    a      ( a	)     ->list:




			'''simple docstring'''


			if len(a	) < 2:
						return collection

			def circle_sort_util(a		,						a		,						a	) -> bool:
						SCREAMING_SNAKE_CASE     						= False

						if low == high:
									return swapped

						SCREAMING_SNAKE_CASE     						= low
						SCREAMING_SNAKE_CASE     						= high

						while left < right:
									if collection[left] > collection[right]:
												SCREAMING_SNAKE_CASE						,							SCREAMING_SNAKE_CASE     						= (
												    collection[right],
												    collection[left],
												)
												SCREAMING_SNAKE_CASE     						= True

									left += 1
									right -= 1

						if left == right and collection[left] > collection[right + 1]:
									SCREAMING_SNAKE_CASE						,							SCREAMING_SNAKE_CASE     						= (
									    collection[right + 1],
									    collection[left],
									)

									SCREAMING_SNAKE_CASE     						= True

						SCREAMING_SNAKE_CASE     						= low + int((high - low) / 2	)
						SCREAMING_SNAKE_CASE     						= circle_sort_util(a		,						a		,						a	)
						SCREAMING_SNAKE_CASE     						= circle_sort_util(a		,						mid + 1		,						a	)

						return swapped or left_swap or right_swap

			SCREAMING_SNAKE_CASE     						= True

			while is_not_sorted is True:
						SCREAMING_SNAKE_CASE     						= circle_sort_util(a		,						0		,						len(a	) - 1	)

			return collection


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

# Function to print upper half of diamond (pyramid)


def    a      ( a	)     ->Optional[Any]:




			'''simple docstring'''


			for i in range(0		,						a	):
						for _ in range(0		,						n - i - 1	):  # printing spaces
									print(''' '''		,						end=''''''	)
						for _ in range(0		,						i + 1	):  # printing stars
									print('''* '''		,						end=''''''	)
						print()


def    a      ( a	)     ->Union[str, Any]:




			'''simple docstring'''


			for i in range(a		,						0		,						-1	):
						for _ in range(a		,						0		,						-1	):  # printing stars
									print('''* '''		,						end=''''''	)
						print()
						for _ in range(n - i + 1		,						0		,						-1	):  # printing spaces
									print(''' '''		,						end=''''''	)


def    a      ( a	)     ->Optional[int]:




			'''simple docstring'''


			if n <= 0:
						print('''       ...       ....        nothing printing :('''	)
						return
			floyd(a	)  # upper half
			reverse_floyd(a	)  # lower half


if __name__ == "__main__":
							print(R'| /\ | |- |  |-  |--| |\  /| |-')
							print(R'|/  \| |- |_ |_  |__| | \/ | |_')
							__lowerCAmelCase					   =       1
							while K:
														__lowerCAmelCase					   =       int(input('enter the number and , and see the magic : '))
														print()
														pretty_print(user_number)
														__lowerCAmelCase					   =       int(input('press 0 to exit... and 1 to continue...'))

							print('Good Bye...')