12178: 计算表达式

Memory Limit:32 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:0

Description

对于一个不存在括号的表达式进行计算

Input

存在多种数据,每组数据一行,表达式不存在空格

Output

输出结果

Sample Input Copy

6/2+3+3*4
734/2-56*2-7*8

Sample Output Copy

18
199