'''simple docstring'''






from __future__ import annotations





def  _SCREAMING_SNAKE_CASE		(      __snake_case							:			int				):
     _A    		=  str(__snake_case				)
     return len(__snake_case				) == 9 and set(__snake_case				) == set('123456789'				)





def  _SCREAMING_SNAKE_CASE		(      ):
     for base_num in range(9_9_9_9   ,		4_9_9_9   ,		-1				):
          _A    		=  1_0_0_0_0_2 * base_num
          if is_9_pandigital(__snake_case				):
               return candidate

     for base_num in range(3_3_3   ,		9_9   ,		-1				):
          _A    		=  1_0_0_2_0_0_3 * base_num
          if is_9_pandigital(__snake_case				):
               return candidate

     return None


if __name__ == "__main__":
   print(F'''{solution() = }''')










"""simple docstring"""






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






def      lowercase__ (					lowerCAmelCase__   :			int			)    ->			int:



			'''simple docstring'''
			a__  :	Tuple		 =			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()