



from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors



def 			_lowerCAmelCase       (					__lowerCAmelCase      )   ->					int:


				"""simple docstring"""

				snake_case__	:      Union[str, Any]     		=	prime_factors(__lowerCAmelCase      )
				if is_square_free(__lowerCAmelCase      ):
								return -1 if len(__lowerCAmelCase      ) % 2 else 1
				return 0


if __name__ == "__main__":
				import doctest

				doctest.testmod()






def 			_lowerCAmelCase       (					__lowerCAmelCase  ,  __lowerCAmelCase      )   ->					int:


				"""simple docstring"""

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



def 			_lowerCAmelCase       (					)   ->					None:


				"""simple docstring"""

				assert or_gate(0  ,  0      ) == 0
				assert or_gate(0  ,  1      ) == 1
				assert or_gate(1  ,  0      ) == 1
				assert or_gate(1  ,  1      ) == 1


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

