



from maths.prime_check import is_prime


def 			UpperCamelCase(  __UpperCamelCase							:		int ):
		if not isinstance(__UpperCamelCase     ,__UpperCamelCase ):
				lowerCAmelCase_			:     Union[str, Any]									= f"""Input value of [number={number}] must be an integer"""
				raise TypeError(__UpperCamelCase )
		if is_prime(__UpperCamelCase ) and is_prime(number + 2 ):
				return number + 2
		else:
				return -1


if __name__ == "__main__":
						import doctest

						doctest.testmod()












"""simple docstring"""





from __future__ import annotations


def 			UpperCAmelCase__							(  SCREAMING_SNAKE_CASE     :						str			):







      '''simple docstring'''




      return [ord(SCREAMING_SNAKE_CASE			) - 96 for elem in plain]


def 			UpperCAmelCase__							(  SCREAMING_SNAKE_CASE     :						list[int]			):







      '''simple docstring'''




      return "".join(chr(elem + 96			) for elem in encoded			)


def 			UpperCAmelCase__							(  ):







      '''simple docstring'''




      lowerCAmelCase  						=       encode(input("""-> """			).strip().lower()			)
      print("""Encoded: """							,						SCREAMING_SNAKE_CASE			)
      print("""Decoded:"""							,						decode(SCREAMING_SNAKE_CASE			)			)


if __name__ == "__main__":
       main()






