



import os
from typing import Dict, List, Tuple, TypeVar, Union


__snake_case						:Tuple      		=     TypeVar('''T''')

__snake_case						:int      		=     Union[List[T], Tuple[T, ...]]
__snake_case						:Union[str, Any]      		=     Union[T, List[T], Dict[str, T]]
__snake_case						:str      		=     Union[str, bytes, os.PathLike]










from __future__ import annotations

from typing import Any





def      __snake_case	(			_UpperCAmelCase				):
    if not postfix_notation:
        return 0

    __a						       =				{'''+''', '''-''', '''*''', '''/'''}
    __a						       =				[]

    for token in postfix_notation:
        if token in operations:
            __a       ,   __a						       =				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(_UpperCAmelCase				)				)

    return stack.pop()


if __name__ == "__main__":
 import doctest

 doctest.testmod()





