'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


__snake_case  : int		       =    logging.get_logger(__name__)




class       __UpperCAmelCase							(							_UpperCamelCase	):





       '''simple docstring'''



       def __init__( self       ,	*_SCREAMING_SNAKE_CASE       ,	**_SCREAMING_SNAKE_CASE					)						->	None:
           warnings.warn(
               '''The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
               ''' use ViTImageProcessor instead.'''       ,	_SCREAMING_SNAKE_CASE       ,	)
           super().__init__(*_SCREAMING_SNAKE_CASE       ,	**_SCREAMING_SNAKE_CASE					)







'''simple docstring'''




import itertools





def 	_UpperCAmelCase       (				_UpperCamelCase       :      int = 1_00_00_00  )      -> int:
    A_      =  [1]

    for i in itertools.count(len(_UpperCamelCase  )  ):
        A_      =  0
        for j in itertools.count(1  ):
            A_      =  -1 if j % 2 == 0 else +1
            A_      =  (j * j * 3 - j) // 2
            if index > i:
                break
            item += partitions[i - index] * sign
            item %= number
            index += j
            if index > i:
                break
            item += partitions[i - index] * sign
            item %= number

        if item == 0:
            return i
        partitions.append(_UpperCamelCase  )

    return 0


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  print(F"""{solution() = }""")






