



from maths.prime_check import is_prime






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       if not isinstance(A_,    A_						):
              _lowerCamelCase						:    Optional[Any]         =			F'''Input value of [number={number}] must be an integer'''
              raise TypeError(A_						)
       if is_prime(A_						) and is_prime(number + 2						):
              return number + 2
       else:
              return -1


if __name__ == "__main__":
   import doctest

   doctest.testmod()







"""simple docstring"""






import math






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       return math.sqrt(A_						) * math.sqrt(A_						) == num






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       _lowerCamelCase						:    Dict         =			0
       _lowerCamelCase						:    Tuple         =			n
       while left <= right:
              _lowerCamelCase						:    List[str]         =			(left + right) // 2
              if mid**2 == n:
                     return True
              elif mid**2 > n:
                     _lowerCamelCase						:    int         =			mid - 1
              else:
                     _lowerCamelCase						:    Optional[Any]         =			mid + 1
       return False


if __name__ == "__main__":
   import doctest

   doctest.testmod()


