




'''simple docstring'''







from __future__ import annotations

from random import randrange






def 		_lowercase		(     lowercase_  ):



		'''simple docstring'''







		if len(lowercase_  ) < 2:
				return collection
		_snake_case     	=	randrange(len(lowercase_  )  )  # Use random element as pivot
		_snake_case     	=	collection[pivot_index]
		_snake_case     	=	[]  # All elements greater than pivot
		_snake_case     	=	[]  # All elements less than or equal to pivot

		for element in collection[:pivot_index]:
				(greater if element > pivot else lesser).append(lowercase_  )

		for element in collection[pivot_index + 1 :]:
				(greater if element > pivot else lesser).append(lowercase_  )

		return [*quick_sort(lowercase_  ), pivot, *quick_sort(lowercase_  )]


if __name__ == "__main__":
						_lowerCamelCase							:						List[str]							     =  input('Enter numbers separated by a comma:\n').strip()
						_lowerCamelCase							:						Union[str, Any]							     =  [int(item) for item in user_input.split(',')]
						print(quick_sort(unsorted))











'''simple docstring'''







import math





class 					lowerCamelCase_							:




					'''simple docstring'''






					def __init__(   self,  __UpperCamelCase,  __UpperCamelCase,  __UpperCamelCase			):
							_snake_case     	=	x
							_snake_case     	=	y
							_snake_case     	=	z






					def __repr__(   self			):
							return f'''Point({self.x}, {self.y}, {self.z})'''






def 		_lowercase		(     lowercase_						,							lowercase_  ):



		'''simple docstring'''







		return math.sqrt(abs((b.x - a.x) ** 2 + (b.y - a.y) ** 2 + (b.z - a.z) ** 2  )  )


if __name__ == "__main__":
						import doctest

						doctest.testmod()





