



"""simple docstring"""







from __future__ import annotations

def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							list[int] ):
						"""simple docstring"""






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


if __name__ == "__main__":
			import doctest

			doctest.testmod()








"""simple docstring"""







def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							int     ,		lowerCamelCase_:							int ):
						"""simple docstring"""






						return int((input_a, input_a).count(0 ) != 0 )

def  __SCREAMING_SNAKE_CASE		(			):
						"""simple docstring"""






						assert nand_gate(0     ,		0 ) == 1
						assert nand_gate(0     ,		1 ) == 1
						assert nand_gate(1     ,		0 ) == 1
						assert nand_gate(1     ,		1 ) == 0


if __name__ == "__main__":
			print(nand_gate(0, 0))
			print(nand_gate(0, 1))
			print(nand_gate(1, 0))
			print(nand_gate(1, 1))



