



'''simple docstring'''


from PIL import Image







def 							__lowerCamelCase							(  A__       ,		A__       )			->      int:






   """simple docstring"""
   UpperCamelCase      							=    (259 * (level + 255)) / (255 * (259 - level))

   def contrast(A__       ) -> int:
      return int(128 + factor * (c - 128)       )

   return img.point(__a       )


if __name__ == "__main__":
   # Load image
   with Image.open("image_data/lena.jpg") as img:
      # Change contrast to 170
      _lowerCamelCase      :			Optional[int]       =      change_contrast(img, 170)
      cont_img.save("image_data/lena_high_contrast.png", format="png")





def   _lowercase(					__a				:						list[int]     ):
							a__      =len(__a     )
							for i in range(__a     ):
														for j in range(i + 1    ,     __a     ):
																					if numbers[j] < numbers[i]:
																												a__    ,     a__      =numbers[j], numbers[i]
							return numbers


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

