
"""simple docstring"""
from __future__ import annotations

import math
from itertools import permutations


def      lowerCamelCase_     (						lowerCamelCase_			)  ->      Optional[int]:


					'''simple docstring'''

					if 1 < number < 4:
										# 2 and 3 are primes
										return True
					elif number < 2 or number % 2 == 0 or number % 3 == 0:
										# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
										return False

					# All primes number are in format of 6k +/- 1
					for i in range(5						,					int(math.sqrt(A__			) + 1			)						,					6			):
										if number % i == 0 or number % (i + 2) == 0:
															return False
					return True


def      lowerCamelCase_     (						lowerCamelCase_ = 7			)  ->      int:


					'''simple docstring'''
					__a:    str		     =       "".join(str(A__			) for i in range(1						,					n + 1			)			)
					__a:    Dict		     =       [int("""""".join(A__			)			) for i in permutations(A__						,					A__			)]
					__a:    List[Any]		     =       [num for num in perm_list if is_prime(A__			)]
					return max(A__			) if pandigitals else 0


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




def 	A (		A__			):
     UpperCAmelCase    :					Dict			=      9

     while num > 0:
          if num % 1_0 != digit:
               return False
          num //= 1_0_0
          digit -= 1

     return True







def 	A (		):
     UpperCAmelCase    :					Optional[Any]			=      1_3_8_9_0_2_6_6_3

     while not is_square_form(num * num			):
          if num % 1_0 == 3:
               num -= 6  # (3 - 6) % 10 = 7
          else:
               num -= 4  # (7 - 4) % 10 = 3

     return num * 1_0


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



