
from collections.abc import Sequence




def       _SCREAMING_SNAKE_CASE   (						_lowerCamelCase					:     Sequence[int] | None = None)   ->       int:






							'''simple docstring'''





							if nums is None or not nums:
														raise ValueError("Input sequence should not be empty")

							__UpperCamelCase      :  str       =   nums[0]
							for i in range(1		,    len(_lowerCamelCase)):
														__UpperCamelCase      :  List[str]       =   nums[i]
														__UpperCamelCase      :  Dict       =   max(_lowerCamelCase		,    ans + num		,    _lowerCamelCase)

							return ans


if __name__ == "__main__":
		import doctest

		doctest.testmod()

		# Try on a sample input from the user
		lowercase    :   str						=			int(input('Enter number of elements : ').strip())
		lowercase    :   Optional[Any]						=			list(map(int, input('\nEnter the numbers : ').strip().split()))[:n]
		print(max_subsequence_sum(array))

import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


lowercase    :   List[str]						=			logging.get_logger(__name__)




class 					lowerCamelCase__				(							__lowercase):




	'''simple docstring'''




	def __init__(   self						:Dict	,  *a						:Tuple	,  **a						:List[Any]		)						->					None:
								warnings.warn(
								    "The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
								    " Please use PerceiverImageProcessor instead."	,  a	,  )
								super().__init__(*a	,  **a		)