
'''simple docstring'''





import math


class 			UpperCamelCase__	:






 def __init__(      self	:Any						,					_A	:Dict						,					_A	:int						,					_A	:List[str]      )					->      List[Any]:







       '''simple docstring'''



       __A													=      x
       __A													=      y
       __A													=      z






 def __repr__(      self	:Dict      )					->      str:







       '''simple docstring'''



       return F'Point({self.x}, {self.y}, {self.z})'





def 							snake_case				(		UpperCAmelCase   ,	UpperCAmelCase						)->      float:







      """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()











from __future__ import annotations

from random import randrange
def 				UpperCAmelCase__		(					_SCREAMING_SNAKE_CASE :						list					)->list:
      if len(_SCREAMING_SNAKE_CASE					) < 2:
            return collection
      _lowerCAmelCase			      =	randrange(len(_SCREAMING_SNAKE_CASE					)					)  # Use random element as pivot
      _lowerCAmelCase			      =	collection[pivot_index]
      _lowerCAmelCase			      =	[]  # All elements greater than pivot
      _lowerCAmelCase			      =	[]  # All elements less than or equal to pivot

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

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

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


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