






def 			__UpperCamelCase	(		snake_case__					):







	if not isinstance(__UpperCamelCase   ,   __UpperCamelCase					):
		A_		:						Dict	    =   F"""Input value of [number={number}] must be an integer"""
		raise TypeError(__UpperCamelCase					)
	if number < 0:
		return False
	A_		:						List[str]	    =   number * number
	while number > 0:
		if number % 10 != number_square % 10:
			return False
		number //= 10
		number_square //= 10
	return True


if __name__ == "__main__":
							import doctest

							doctest.testmod()









"""simple docstring"""
from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors






def 			__UpperCamelCase	(		snake_case__					):
	A_		:						List[str]	    =   prime_factors(snake_case__					)
	if is_square_free(snake_case__					):
		return -1 if len(snake_case__					) % 2 else 1
	return 0


if __name__ == "__main__":
							import doctest

							doctest.testmod()

