



"""simple docstring"""







from maths.prime_check import is_prime

def 				UpperCamelCase_    (    lowerCAmelCase__      :				int						)						->   int:

  """simple docstring"""




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


if __name__ == "__main__":
     import doctest

     doctest.testmod()










"""simple docstring"""







def 				UpperCamelCase_    (    lowerCAmelCase__      :				int = 100						)						->   int:

  """simple docstring"""




  lowerCAmelCase_   :				Any								= (n * (n + 1) // 2) ** 2
  lowerCAmelCase_   :				Optional[int]								= n * (n + 1) * (2 * n + 1) // 6
  return sum_cubes - sum_squares


if __name__ == "__main__":
     print(f'{solution() = }')





