






from PIL import Image







def       lowercase__	(					A_:						Image  ,      A_:						int		)	->				Image:







       """simple docstring"""






       __UpperCAmelCase     				=(259 * (level + 255)) / (255 * (259 - level))

       def contrast(A_:						int		) -> 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
      __A					=	change_contrast(img, 1_70)
      cont_img.save("image_data/lena_high_contrast.png", format="png")










SCREAMING_SNAKE_CASE:     Optional[int]									= {str(digit): digit**5 for digit in range(1_0)}


def 					_a							(					lowerCAmelCase )->	int:
		return sum(DIGITS_FIFTH_POWER[digit] for digit in str(lowerCAmelCase ) )


def 					_a							(					)->	int:
		return sum(
		    number
		    for number in range(1000    ,						1000000 )
		    if number == digits_fifth_powers_sum(lowerCAmelCase ) )


if __name__ == "__main__":
						print(solution())