
from __future__ import annotations

from typing import Any




def     lowercase__						(					lowerCAmelCase				:					list ) ->      int:






    """simple docstring"""




    if not postfix_notation:
        return 0

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

    for token in postfix_notation:
        if token in operations:
            UpperCAmelCase			,							UpperCAmelCase									=					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"""

from __future__ import annotations

import numpy as np




def     lowercase__						(					lowerCAmelCase				:					list[float] ) ->      Dict:






    """simple docstring"""




    return np.maximum(0 ,				lowerCAmelCase )


if __name__ == "__main__":
   print(np.array(relu([-1, 0, 5])))  # --> [0, 0, 5]



