
"""simple docstring"""

import os
from distutils.util import strtobool






def 							A						(    snake_case				:Optional[Any]    , snake_case				:Tuple		)				->     Tuple:






 """simple docstring"""




 for e in env_keys:
  __UpperCamelCase      =	int(os.environ.get(snake_case    , -1		)		)
  if val >= 0:
   return val
 return default






def 							A						(    snake_case				:Optional[Any]    , snake_case				:Dict=False		)				->     Union[str, Any]:






 """simple docstring"""




 __UpperCamelCase      =	os.environ.get(snake_case    , str(snake_case		)		)
 return strtobool(snake_case		) == 1  # As its name indicates `strtobool` actually returns an int...






def 							A						(    snake_case				:Union[str, Any]    , snake_case				:str="no"		)				->     str:






 """simple docstring"""




 __UpperCamelCase      =	os.environ.get(snake_case    , str(snake_case		)		)
 return value





"""simple docstring"""

from __future__ import annotations

from typing import Any






def 							A						(    snake_case				:list		)				->     int:
 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(snake_case		)		)

 return stack.pop()


if __name__ == "__main__":
      import doctest

      doctest.testmod()



