input: from typing import List
  
  
  def evaluate(expression: str) -> int:
      """
      Evaluate a postfix expression and return the result. The input expression is a string
      where each element is separated by a space, and the operands are integers.
      The output is the evaluated integer value of the postfix expression.
  
      >>> evaluate("2 3 + 4 5 * *")
      46
      >>> evaluate("7 8 + 3 2 + /")
      3
      """
output:     stack = []
      for token in expression.split():
          if token.isdigit():
              stack.append(int(token))
          else:
              b = stack.pop()
              a = stack.pop()
              if token == '+':
                  stack.append(a + b)
              elif token == '-':
                  stack.append(a - b)
              elif token == '*':
                  stack.append(a * b)
              elif token == '/':
                  stack.append(a // b)
      return stack[0]