


'''simple docstring'''

from maths.prime_check import is_prime





def __snake_case					(      UpperCAmelCase_						:						Optional[int]		):
 if not isinstance(_SCREAMING_SNAKE_CASE					,				_SCREAMING_SNAKE_CASE		):
  lowerCamelCase_      =  F'''Input value of [number={number}] must be an integer'''
  raise TypeError(_SCREAMING_SNAKE_CASE		)
 if is_prime(_SCREAMING_SNAKE_CASE		) and is_prime(number + 2		):
  return number + 2
 else:
  return -1


if __name__ == "__main__":
     import doctest

     doctest.testmod()




"""simple docstring"""
import os
from typing import Dict, List, Tuple, TypeVar, Union


lowercase__					       =	TypeVar('T')

lowercase__					       =	Union[List[T], Tuple[T, ...]]
lowercase__					       =	Union[T, List[T], Dict[str, T]]
lowercase__					       =	Union[str, bytes, os.PathLike]


