


"""simple docstring"""





import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


snake_case__						:   Optional[Any]			 = logging.get_logger(__name__)



class 						snake_case_(				a__	):






     def __init__(		self     :    int    , *UpperCamelCase_     :    Any    , **UpperCamelCase_     :    Tuple ):
           warnings.warn(
               '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
               ''' use OwlViTImageProcessor instead.'''    , UpperCamelCase_    , )
           super().__init__(*UpperCamelCase_    , **UpperCamelCase_ )






"""simple docstring"""





def    _snake_case  (  _snake_case :	int	):

      if not isinstance(_snake_case       ,      _snake_case	):
            raise TypeError('''only integers accepted as input'''	)
      else:
            lowerCAmelCase    :		List[str]				=      str(abs(_snake_case	)	)
            lowerCAmelCase    :		Optional[Any]				=      [list(_snake_case	) for char in range(len(_snake_case	)	)]
            for index in range(len(_snake_case	)	):
                  num_transpositions[index].pop(_snake_case	)
            return max(
                int(''''''.join(list(_snake_case	)	)	) for transposition in num_transpositions	)


if __name__ == "__main__":
 __import__('''doctest''').testmod()


