7118 - PC: Alan need a calculator   

Description

Alan need to take a physics exam, but his calculator disappeared!! Can you help him to do a calculator??

The calculator need:

Add(+): A + B is add two number

Cut(-): A - B is number A cut numer B

Multiply(*): A * B is number A multiply B

Divide(/): A / B is number A divide B
 

Input

There is a formula at a line.

The input will have $ at the end.The line doesn't have to output.

|answer| < 1000000 and will be integer.

They will have a space between number and symbol.

They will not have brackets.

The number of line will less than 100.

The length of input  will < 3*10^7 

Output

Please output the answer of the formula.

Sample Input  Download

Sample Output  Download

Tags




Discuss