




import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


UpperCamelCase								=					logging.get_logger(__name__)





class 			__lowerCamelCase	(   UpperCamelCase__   ):




    """simple docstring"""

    def __init__(	self					:					Optional[int]       ,     *SCREAMING_SNAKE_CASE__					:					Any       ,     **SCREAMING_SNAKE_CASE__					:					List[str]       )				->	None:
         warnings.warn(
             "The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
             " Please use SegformerImageProcessor instead."       ,     SCREAMING_SNAKE_CASE__       ,     )
         super().__init__(*SCREAMING_SNAKE_CASE__       ,     **SCREAMING_SNAKE_CASE__       )






from maths.prime_factors import prime_factors



def 							_A       (						lowerCAmelCase_					: int      ):
     """simple docstring"""

     if not isinstance(lowerCAmelCase_       ,    lowerCAmelCase_      ):
          lowerCAmelCase__          =			F'Input value of [number={number}] must be an integer'
          raise TypeError(lowerCAmelCase_      )
     if number < 1:
          raise ValueError("Input must be a positive integer"      )
     return -1 if len(prime_factors(lowerCAmelCase_      )      ) % 2 else 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()
