






import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


lowerCamelCase : Union[str, Any]						   =       logging.get_logger(__name__)

class 		lowerCAmelCase     ( __a			):

					'''simple docstring'''

					def __init__(  self				:	int		,     *__a				:	Dict		,     **__a				:	Optional[Any]							)			->  None:


												"""simple docstring"""

												warnings.warn(
												    """The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
												    """ use BeitImageProcessor instead."""		,     __a		,     )
												super().__init__(*__a		,     **__a							)







from __future__ import annotations
def       snake_case_		(     lowerCAmelCase_       :						list[int]      ):
							if not nums:
														return 0
							__lowercase      :							Tuple				=     nums[0]
							__lowercase      :							Tuple				=     0
							for num in nums[1:]:
														__lowercase			,			__lowercase      :							List[str]				=     (
														    max_excluding + num,
														    max(lowerCAmelCase_       ,       lowerCAmelCase_      ),
														)
							return max(lowerCAmelCase_       ,       lowerCAmelCase_      )


if __name__ == "__main__":
	import doctest

	doctest.testmod()