



'''simple docstring'''





from __future__ import annotations




def lowerCAmelCase    (__A):



     """simple docstring"""



     _a           =    str(__A)
     return len(__A) == 9 and set(__A) == set('''123456789''')




def lowerCAmelCase    ():



     """simple docstring"""



     for base_num in range(9_999    ,      4_999    ,      -1):
          _a           =    100_002 * base_num
          if is_9_pandigital(__A):
               return candidate

     for base_num in range(333    ,      99    ,      -1):
          _a           =    1_002_003 * base_num
          if is_9_pandigital(__A):
               return candidate

     return None


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








'''simple docstring'''





from __future__ import annotations




def lowerCAmelCase    (__A):



     """simple docstring"""



     _a           =    2
     _a           =    []
     while i * i <= n:
          if n % i:
               i += 1
          else:
               n //= i
               factors.append(__A)
     if n > 1:
          factors.append(__A)
     return factors


if __name__ == "__main__":
  import doctest

  doctest.testmod()



