2392: 中缀转后缀

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:7 Solved:2

Description

输入一个中缀表达式,输出后缀表达式



Input

一行中缀表达式



Output

相对应的后缀



Sample Input Copy

16-9*(4+3)(没有任何空格)



Sample Output Copy

16 9 4 3 + * -
两个数和符号中间一个空格

Source/Category