Give a prefix expression, which only has 2 operators, ‘+’ and ‘-’,and positive integers. Print the result.
The input contains a sequences of prefix expression. It contains operators, ‘+’ and ‘-’,and positive integers separated by a space. Expression is ended by 0. (0 is not the element.)
The output is the result of the expression. (Without a newline symbol)