






def 	__lowerCamelCase      (		snake_case__ = 10_00		)							->  int:






						"""simple docstring"""





						_SCREAMING_SNAKE_CASE     				=  2**power
						_SCREAMING_SNAKE_CASE     				=  0
						while n:
												_SCREAMING_SNAKE_CASE				,					_SCREAMING_SNAKE_CASE     				=  r + n % 10, n // 10
						return r


if __name__ == "__main__":
		print(solution(int(str(input()).strip())))









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

def 	__lowerCamelCase      (		snake_case__		)							->  int:






						"""simple docstring"""





						_SCREAMING_SNAKE_CASE     				=  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()

