



'''simple docstring'''





from __future__ import annotations

from typing import Any





def 						__snake_case(				_lowerCAmelCase		)		-> int:
      if not postfix_notation:
            return 0

      snake_case__  :    Tuple    						=      {"""+""", """-""", """*""", """/"""}
      snake_case__  :    list[Any]    						=      []

      for token in postfix_notation:
            if token in operations:
                  snake_case__						,				snake_case__  :    Optional[int]    						=      stack.pop(), stack.pop()
                  if token == "+":
                        stack.append(a + b		)
                  elif token == "-":
                        stack.append(a - b		)
                  elif token == "*":
                        stack.append(a * b		)
                  else:
                        if a * b < 0 and a % b != 0:
                              stack.append(a // b + 1		)
                        else:
                              stack.append(a // b		)
            else:
                  stack.append(int(_lowerCAmelCase		)		)

      return stack.pop()


if __name__ == "__main__":
       import doctest

       doctest.testmod()








"""simple docstring"""






import warnings

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


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




class 							lowerCAmelCase__				(			UpperCAmelCase__ ):






      '''simple docstring'''

      def __init__(						self     :  List[str]						,	*lowercase_     :  Dict						,	**lowercase_     :  Union[str, Any]):




          '''simple docstring'''


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


