




'''simple docstring'''

def 		__magic_name__    (	__UpperCAmelCase,      __UpperCAmelCase	)		->					int:

					'''simple docstring'''

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


def 		__magic_name__    (	)		->					None:

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






'''simple docstring'''





from maths.prime_factors import prime_factors
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    if not isinstance(UpperCamelCase							,    UpperCamelCase			):
        lowerCAmelCase__ :  int							      =					f"""Input value of [number={number}] must be an integer"""
        raise TypeError(UpperCamelCase			)
    if number < 1:
        raise ValueError("""Input must be a positive integer"""			)
    return -1 if len(prime_factors(UpperCamelCase			)			) % 2 else 1


if __name__ == "__main__":
 import doctest

 doctest.testmod()


