


'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


UpperCamelCase__    					=      logging.get_logger(__name__)




class 			lowerCamelCase_   (	__a      ):






      def __init__(					self				:    str						,						*_A				:    str						,						**_A				:    Optional[int] ):


          '''simple docstring'''


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




'''simple docstring'''
def 					a__       (					lowerCAmelCase__						)    ->	int:
    UpperCAmelCase__			:		Tuple													=				0
    while num > 0:
        digit_sum += num % 10
        num //= 10
    return digit_sum





def 					a__       (					lowerCAmelCase__ = 1_00						)    ->	int:
    UpperCAmelCase__			:		Dict													=				1
    UpperCAmelCase__			:		str													=				2

    for i in range(2  ,					max_n + 1						):
        UpperCAmelCase__			:		Tuple													=				pre_numerator
        UpperCAmelCase__			:		Tuple													=				2 * i // 3 if i % 3 == 0 else 1
        UpperCAmelCase__			:		str													=				cur_numerator
        UpperCAmelCase__			:		List[str]													=				e_cont * pre_numerator + temp

    return sum_digits(lowerCAmelCase__						)


if __name__ == "__main__":
  print(F"""{solution() = }""")
