




import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


_snake_case										=       logging.get_logger(__name__)







class 						lowercase							(   UpperCamelCase__		):

     def __init__(  self		,     *_a		,     **_a				)						->							None:
           warnings.warn(
               """The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
               """ use DonutImageProcessor instead."""		,     _a		,     )
           super().__init__(*_a		,     **_a				)







def 				lowerCAmelCase_	(     snake_case_     ):
      if n_term == "":
            return []
      _A							:     list			=						[]
      for temp in range(int(snake_case_     )     ):
            series.append(f'''1/{temp + 1}''' if series else """1"""     )
      return series


if __name__ == "__main__":
  _snake_case										=       input("Enter the last number (nth term) of the Harmonic Series")
  print("Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n")
  print(harmonic_series(nth_term))

