






"""simple docstring"""
def 							A						(				__snake_case: int  )    ->		int:

       """simple docstring"""





       __magic_name__      				=    1
       for i in range(1 ,     num + 1  ):
              fact *= i
       return fact


def 							A						(				__snake_case: int  )    ->		int:

       """simple docstring"""





       __magic_name__      				=    0
       while number > 0:
              __magic_name__      				=    number % 1_0
              sum_of_digits += last_digit
              __magic_name__      				=    number // 1_0  # Removing the last_digit from the given number
       return sum_of_digits


def 							A						(				__snake_case: int = 1_0_0  )    ->		int:

       """simple docstring"""





       __magic_name__      				=    factorial(__snake_case  )
       __magic_name__      				=    split_and_add(__snake_case  )
       return result


if __name__ == "__main__":
 print(solution(int(input("""Enter the Number: """).strip())))







"""simple docstring"""
from maths.prime_check import is_prime


def 							A						(				__snake_case: int  )    ->		int:

       """simple docstring"""





       if not isinstance(__snake_case ,     __snake_case  ):
              __magic_name__      				=    F"""Input value of [number={number}] must be an integer"""
              raise TypeError(__snake_case  )
       if is_prime(__snake_case  ) and is_prime(number + 2  ):
              return number + 2
       else:
              return -1


if __name__ == "__main__":
 import doctest

 doctest.testmod()