code: 
  
  
  """simple docstring"""
  
  
  
  
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available
  
  
  lowerCamelCase_     :     Union[str, Any]    		=						{
      """configuration_decision_transformer""": [
          """DECISION_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
          """DecisionTransformerConfig""",
      ],
  }
  
  try:
         if not is_torch_available():
                raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
         pass
  else:
         lowerCamelCase_     :     Dict    		=						[
             """DECISION_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
             """DecisionTransformerGPT2Model""",
             """DecisionTransformerGPT2PreTrainedModel""",
             """DecisionTransformerModel""",
             """DecisionTransformerPreTrainedModel""",
         ]
  
  
  if TYPE_CHECKING:
         from .configuration_decision_transformer import (
             DECISION_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
             DecisionTransformerConfig,
         )
  
         try:
                if not is_torch_available():
                       raise OptionalDependencyNotAvailable()
         except OptionalDependencyNotAvailable:
                pass
         else:
                from .modeling_decision_transformer import (
                    DECISION_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
                    DecisionTransformerGPTaModel,
                    DecisionTransformerGPTaPreTrainedModel,
                    DecisionTransformerModel,
                    DecisionTransformerPreTrainedModel,
                )
  
  
  else:
         import sys
  
         lowerCamelCase_     :     Tuple    		=						_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)
style_context: 
  
  
  """simple docstring"""
  
  
  
  
  
  
  
  from __future__ import annotations
  
  from random import randrange
  def _A		(		lowercase	):
  
  
  
  
  
  
  
      """simple docstring"""
      if len(lowercase	) < 2:
          return collection
      a					=randrange(len(lowercase	)	)  # Use random element as pivot
      a					=collection[pivot_index]
      a					=[]  # All elements greater than pivot
      a					=[]  # 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_     :     Union[str, Any]    		=						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))