def     _a				(      lowercase__  :			Optional[Any]     ,  lowercase__  :			Any     ,  lowercase__  :			List[str]     ,  lowercase__  :			str     ,  lowercase__  :			Dict     ,  lowercase__  :			Union[str, Any] ):







					'''simple docstring'''


					if index == r:
										for j in range(lowercase__ ):
															print(data[j]     ,  end=' ' )
										print(' ' )
										return
					#  When no more elements are there to put in data[]
					if i >= n:
										return
					# current is included, put next at next location
					SCREAMING_SNAKE_CASE__				:				int			=		arr[i]
					combination_util(lowercase__     ,  lowercase__     ,  lowercase__     ,  index + 1     ,  lowercase__     ,  i + 1 )
					# current is excluded, replace it with
					# next (Note that i+1 is passed, but
					# index is not changed)
					combination_util(lowercase__     ,  lowercase__     ,  lowercase__     ,  lowercase__     ,  lowercase__     ,  i + 1 )
					# The main function that prints all combinations
					# of size r in arr[] of size n. This function
					# mainly uses combinationUtil()







def     _a				(      lowercase__  :			List[str]     ,  lowercase__  :			List[str]     ,  lowercase__  :			List[str] ):







					'''simple docstring'''


					SCREAMING_SNAKE_CASE__				:				Optional[int]			=		[0] * r
					# Print all combination using temporary array 'data[]'
					combination_util(lowercase__     ,  lowercase__     ,  lowercase__     ,  0     ,  lowercase__     ,  0 )


if __name__ == "__main__":
						# Driver code to check the function above
						SCREAMING_SNAKE_CASE__		:					List[Any]						=					[10, 20, 30, 40, 50]
						print_combination(arr, len(arr), 3)
						# This code is contributed by Ambuj sahu




def     _a				(      lowercase__  :			int     ,  lowercase__  :			int ):







     '''simple docstring'''


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







def     _a				(      ):







     '''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))



