




'''simple docstring'''


from __future__ import annotations

import math
from itertools import permutations
def 					SCREAMING_SNAKE_CASE(   __lowercase	)			-> bool:

     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(__lowercase	) + 1	)		,				6	):
          if number % i == 0 or number % (i + 2) == 0:
               return False
     return True
def 					SCREAMING_SNAKE_CASE(   __lowercase = 7	)			-> int:
     A:		Dict          =		''''''.join(str(__lowercase	) for i in range(1		,				n + 1	)	)
     A:		Dict          =		[int(''''''.join(__lowercase	)	) for i in permutations(__lowercase		,				__lowercase	)]
     A:		Any          =		[num for num in perm_list if is_prime(__lowercase	)]
     return max(__lowercase	) if pandigitals else 0


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












'''simple docstring'''


def 					SCREAMING_SNAKE_CASE(   __lowercase	)			-> int:
     if not isinstance(__lowercase		,				__lowercase	):
          raise ValueError('''double_factorial() only accepts integral values'''	)
     if n < 0:
          raise ValueError('''double_factorial() not defined for negative values'''	)
     return 1 if n <= 1 else n * double_factorial(n - 2	)


if __name__ == "__main__":
     import doctest

     doctest.testmod()






