




from PIL import Image

def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       str	,							lowercase	:       Optional[Any]     ):


      '''simple docstring'''



      def brightness(lowercase	:       Optional[int]     ) -> float:
            return 1_28 + level + (c - 1_28)

      if not -255.0 <= level <= 255.0:
            raise ValueError('level must be between -255.0 (black) and 255.0 (white)'     )
      return img.point(_lowerCAmelCase     )


if __name__ == "__main__":
 # Load image
 with Image.open("image_data/lena.jpg") as img:
  # Change brightness to 100
  lowerCamelCase				:		Tuple     =   change_brightness(img, 100)
  brigt_img.save("image_data/lena_brightness.png", format="png")








'''simple docstring'''





def 						__snake_case(				_lowerCAmelCase = 1_000		)		-> int:
      return sum(e for e in range(3     ,   _lowerCAmelCase		) if e % 3 == 0 or e % 5 == 0		)


if __name__ == "__main__":
       print(F"{solution() = }")
