Add subtract and multiply#8653

Add subtract and multiply

1 second
128 megabytes
Very easy

Let be a variable initially equal to . Simulate the next operations with this variable:

Input

Each line contains operation and value. Process all given operations. The value of the variable after each operation does not exceed 10^9 by absolute value.

Output

Print the resulting value of .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading