






"""simple docstring"""



def 						lowercase    (				__snake_case				: int		,					__snake_case				: int	):
		return int((input_a, input_a).count(0	) != 0	)



def 						lowercase    (				):
		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))











"""simple docstring"""



def 						lowercase    (				__snake_case				: int	):
		if not isinstance(__snake_case		,					__snake_case	):
				raise ValueError('''Input must be an integer'''	)
		if input_num <= 0:
				raise ValueError('''Input must be positive'''	)
		return sum(
		    divisor for divisor in range(1		,					input_num // 2 + 1	) if input_num % divisor == 0	)


if __name__ == "__main__":
						import doctest

						doctest.testmod()



