

'''simple docstring'''


from __future__ import annotations




def 	_a       (				__lowerCAmelCase		:      int     ):

		"""simple docstring"""

		if not nums:
				return 0
		snake_case__						:       List[Any]       						=  nums[0]
		snake_case__						:       int       						=  0
		for num in nums[1:]:
				snake_case__						,       snake_case__						:       int       						=  (
				    max_excluding + num,
				    max(_SCREAMING_SNAKE_CASE   ,							_SCREAMING_SNAKE_CASE     ),
				)
		return max(_SCREAMING_SNAKE_CASE   ,							_SCREAMING_SNAKE_CASE     )


if __name__ == "__main__":
					import doctest

					doctest.testmod()






'''simple docstring'''


import warnings

from diffusers import StableDiffusionImgaImgPipeline  # noqa F401


warnings.warn(
    """The `image_to_image.py` script is outdated. Please use directly `from diffusers import"""
    """ StableDiffusionImg2ImgPipeline` instead."""
)



