






'''simple docstring'''

from __future__ import annotations

import math







def     lowercase__ (      __UpperCamelCase    )-> 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     lowercase__ (      __UpperCamelCase    )-> list[int]:
      UpperCamelCase				  =					str(lowercase_    )
      UpperCamelCase				  =					[n]
      for i in range(1		,						len(lowercase_    )    ):
            list_nums.append(int(str_num[i:]    )    )
            list_nums.append(int(str_num[:-i]    )    )
      return list_nums







def     lowercase__ (      __UpperCamelCase    )-> bool:
      if len(str(lowercase_    )    ) > 3:
            if not is_prime(int(str(lowercase_    )[-3:]    )    ) or not is_prime(int(str(lowercase_    )[:3]    )    ):
                  return False
      return True







def     lowercase__ (      __UpperCamelCase = 11    )-> list[int]:
      UpperCamelCase				  =					[]
      UpperCamelCase				  =					13
      while len(lowercase_    ) != count:
            if validate(lowercase_    ):
                  UpperCamelCase				  =					list_truncated_nums(lowercase_    )
                  if all(is_prime(lowercase_    ) for i in list_nums    ):
                        list_truncated_primes.append(lowercase_    )
            num += 2
      return list_truncated_primes







def     lowercase__ (      )-> int:
      return sum(compute_truncated_primes(11    )    )


if __name__ == "__main__":
     print(f'{sum(compute_truncated_primes(1_1)) = }')



import string

def 						UpperCamelCase					(lowercase_: str					)     ->      None:
	for key in range(len(string.ascii_uppercase					)					):
		A__							:    Dict        =		""""""
		for symbol in message:
			if symbol in string.ascii_uppercase:
				A__							:    Dict        =		string.ascii_uppercase.find(lowercase_					)
				A__							:    Optional[int]        =		num - key
				if num < 0:
					A__							:    Optional[int]        =		num + len(string.ascii_uppercase					)
				A__							:    Any        =		translated + string.ascii_uppercase[num]
			else:
				A__							:    Optional[Any]        =		translated + symbol
		print(f"""Decryption using Key #{key}: {translated}"""					)

def 						UpperCamelCase					()     ->      None:
	A__							:    Optional[Any]        =		input("""Encrypted message: """					)
	A__							:    Optional[Any]        =		message.upper()
	decrypt(lowercase_					)


if __name__ == "__main__":
	import doctest

	doctest.testmod()
	main()



