code: 
  
  
  """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))
style_context: 
  
  
  """simple docstring"""
  
  
  
  
  
  
  
  from cva import destroyAllWindows, imread, imshow, waitKey
  def _A		(		lowercase ,					lowercase	):
  
  
  
  
  
  
  
      """simple docstring"""
      a	,   a					=img.shape[0], img.shape[1]
  
      def to_grayscale(lowercase ,					lowercase ,					lowercase	):
          return 0.2126 * red + 0.587 * green + 0.114 * blue
  
      def normalize(lowercase	):
          return min(lowercase ,					2_55	)
  
      for i in range(lowercase	):
          for j in range(lowercase	):
              a					=int(to_grayscale(*img[i][j]	)	)
              a					=[
                  normalize(lowercase	),
                  normalize(greyscale + factor	),
                  normalize(greyscale + 2 * factor	),
              ]
  
      return img
  
  
  if __name__ == "__main__":
         # read original image
         lowerCamelCase_     :     Any    		=						{
             percentage: imread("""image_data/lena.jpg""", 1) for percentage in (1_0, 2_0, 3_0, 4_0)
         }
  
         for percentage, img in images.items():
                make_sepia(img, percentage)
  
         for percentage, img in images.items():
                imshow(F'Original image with sepia (factor: {percentage})', img)
  
         waitKey(0)
         destroyAllWindows()