Arithmetic#3255

Arithmetic

1 second
128 megabytes
Easy

An expression is given that contains only numbers and operations and . Calculate the value of the expression, assuming that the operations and have the same priority. In this case 2 + 2 * 2 equals .

Input

A non-empty string is given with no more than characters. line contains only numbers, and operators and . always starts with a number and represents a valid arithmetic expression. To the left and right of each operation there is a digit, to the left and right of each digit there is either the beginning/end of the string, or a mathematical operation.

Output

Print the result of expression.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading