


def 						__SCREAMING_SNAKE_CASE       (					lowercase_			,					lowercase_			)		->    int:




						'''simple docstring'''







						return int(input_a == input_a == 0			)




def 						__SCREAMING_SNAKE_CASE       (					)		->    None:




						'''simple docstring'''







						print('''Truth Table of NOR Gate:'''			)
						print('''|   Input 1   |  Input 2  | Output |'''			)
						print(f"|      0      |    0      |  {nor_gate(0			,					0			)}     |"			)
						print(f"|      0      |    1      |  {nor_gate(0			,					1			)}     |"			)
						print(f"|      1      |    0      |  {nor_gate(1			,					0			)}     |"			)
						print(f"|      1      |    1      |  {nor_gate(1			,					1			)}     |"			)


if __name__ == "__main__":
				import doctest

				doctest.testmod()
				main()





from __future__ import annotations




def 						__SCREAMING_SNAKE_CASE       (					lowercase_			)		->    int:




						'''simple docstring'''







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


if __name__ == "__main__":
				import doctest

				doctest.testmod()

