


'''simple docstring'''







from maths.prime_check import is_prime


def 	SCREAMING_SNAKE_CASE_					(  _UpperCAmelCase	:	int  )  ->			int:
       if not isinstance(_UpperCAmelCase    ,_UpperCAmelCase  ):
              _a    : int     					=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'''







# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works
from ...utils import deprecate
from ..controlnet.multicontrolnet import MultiControlNetModel  # noqa: F401
from ..controlnet.pipeline_controlnet import StableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    '''stable diffusion controlnet''',
    '''0.22.0''',
    '''Importing `StableDiffusionControlNetPipeline` or `MultiControlNetModel` from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import StableDiffusionControlNetPipeline` instead.''',
    standard_warn=False,
    stacklevel=3,
)


