





from __future__ import annotations



def 	A_       (  _lowerCAmelCase  )		->				int:
 if not nums:
  return 0
 UpperCamelCase			:      Optional[int] 			=     nums[0]
 UpperCamelCase			:      Any 			=     0
 for num in nums[1:]:
  UpperCamelCase			,					UpperCamelCase			:      Tuple 			=     (
      max_excluding + num,
      max(_lowerCAmelCase							,     _lowerCAmelCase  ),
  )
 return max(_lowerCAmelCase							,     _lowerCAmelCase  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()







from ..utils import DummyObject, requires_backends



class       A__     ( metaclass=__snake_case    ):
      _UpperCAmelCase			:Tuple							=     ['note_seq']





      def __init__(				self ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(self ,							["note_seq"]     )





      @classmethod
      def  __UpperCamelCase(				cls ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(cls ,							["note_seq"]     )





      @classmethod
      def  __UpperCamelCase(				cls ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(cls ,							["note_seq"]     )
