"""simple docstring"""


from maths.prime_check import is_prime






def     __UpperCAmelCase					(			lowercase		):







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


if __name__ == "__main__":
    import doctest

    doctest.testmod()

"""simple docstring"""


import warnings

from ...utils import logging
from .image_processing_chinese_clip import ChineseCLIPImageProcessor


UpperCAmelCase__  		=						logging.get_logger(__name__)


class        a				(		lowerCAmelCase_   ):


    def __init__(					self	:  int   ,				*__lowerCAmelCase	:  List[str]   ,				**__lowerCAmelCase	:  List[str]					):
      warnings.warn(
          """The class ChineseCLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
          """ Please use ChineseCLIPImageProcessor instead."""   ,				__lowerCAmelCase   ,				)
      super().__init__(*__lowerCAmelCase   ,				**__lowerCAmelCase					)
