Evaluate a postfix expression containing single-digit operands and the operators +, -, *, /. Division truncates toward zero (so $-3/2 = -1$). No division by zero occurs.
Input
One postfix expression of length $1$ to $100000$.
Output
Print the value of the expression.
Example 1
Input
12+34+*
Output
21
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.