






"""simple docstring"""





def      lowerCamelCase__       (							_lowerCamelCase       :		List[str] )      ->				Optional[int]:
  lowerCamelCase_         =						len(_lowerCamelCase )
  for i in range(length - 1 ):
    lowerCamelCase_         =						i
    for k in range(i + 1		,				_lowerCamelCase ):
      if collection[k] < collection[least]:
        lowerCamelCase_         =						k
    if least != i:
      lowerCamelCase_     ,	lowerCamelCase_         =						(collection[i], collection[least])
  return collection


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












"""simple docstring"""





from cva import destroyAllWindows, imread, imshow, waitKey







def      lowerCamelCase__       (							_lowerCamelCase       :		Tuple )      ->				Dict:
  # getting number of pixels in the image
  lowerCamelCase_     ,	lowerCamelCase_         =						img.shape[0], img.shape[1]

  # converting each pixel's color to its negative
  for i in range(_lowerCamelCase ):
    for j in range(_lowerCamelCase ):
      lowerCamelCase_         =						[255, 255, 255] - img[i][j]

  return img


if __name__ == "__main__":
  # read original image
  _SCREAMING_SNAKE_CASE					:				List[Any]					    =						imread('''image_data/lena.jpg''', 1)

  # convert to its negative
  _SCREAMING_SNAKE_CASE					:				List[Any]					    =						convert_to_negative(img)

  # show result image
  imshow('''negative of original image''', img)
  waitKey(0)
  destroyAllWindows()




