

def 					_lowercase     (				a_				:					int					,a_				:					int				)				->	int:




					'''simple docstring'''







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




def 					_lowercase     (				)				->	None:




					'''simple docstring'''







					assert and_gate(0					,0				) == 0
					assert and_gate(0					,1				) == 0
					assert and_gate(1					,0				) == 0
					assert and_gate(1					,1				) == 1


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







from __future__ import annotations




def 					_lowercase     (				a_				:					list[int]				)				->	int:




					'''simple docstring'''







					if not nums:
										return 0
					__magic_name__							=    nums[0]
					__magic_name__							=    0
					for num in nums[1:]:
										__magic_name__,	__magic_name__							=    (
										    max_excluding + num,
										    max(a_					,a_				),
										)
					return max(a_					,a_				)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




