





_lowerCamelCase      							=   [
    (1000, 'M'),
    (900, 'CM'),
    (500, 'D'),
    (400, 'CD'),
    (100, 'C'),
    (90, 'XC'),
    (50, 'L'),
    (40, 'XL'),
    (10, 'X'),
    (9, 'IX'),
    (5, 'V'),
    (4, 'IV'),
    (1, 'I'),
]




def  __UpperCAmelCase(   lowercase_   ):
       _lowerCamelCase				:  List[Any]						=		{'''I''': 1, '''V''': 5, '''X''': 10, '''L''': 50, '''C''': 1_00, '''D''': 5_00, '''M''': 10_00}
       _lowerCamelCase				:  List[str]						=		0
       _lowerCamelCase				:  List[str]						=		0
       while place < len(lowercase_   ):
              if (place + 1 < len(lowercase_   )) and (vals[roman[place]] < vals[roman[place + 1]]):
                     total += vals[roman[place + 1]] - vals[roman[place]]
                     place += 2
              else:
                     total += vals[roman[place]]
                     place += 1
       return total




def  __UpperCAmelCase(   lowercase_   ):
       _lowerCamelCase				:  Optional[int]						=		[]
       for arabic, roman in ROMAN:
              ((_lowerCamelCase),	(_lowerCamelCase))				:  Optional[Any]						=		divmod(lowercase_			,     lowercase_   )
              result.append(roman * factor   )
              if number == 0:
                     break
       return "".join(lowercase_   )


if __name__ == "__main__":
       import doctest

       doctest.testmod()








import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


_lowerCamelCase      							=   logging.get_logger(__name__)







class       __A							(   lowerCamelCase__	):




      """simple docstring"""







      def __init__(		self   ,				*a__   ,				**a__):



             """simple docstring"""





             warnings.warn(
                 '''The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                 ''' use DeiTImageProcessor instead.'''   ,				a__   ,				)
             super().__init__(*a__   ,				**a__)

