Equation for the 5-th class!#7411

Equation for the 5-th class!

1 second
128 megabytes
Very easy

The equation for the fifth grader is a line of length symbols. The second symbol in the line is either a sign '+' (plus) or '-' (minus), the fourth symbol is a sign '=' (equals to). Among the first, third and fifth symbols exactly two are digits in the range from to , and one is a letter that is a variable.

Write a program to solve the given equation with respect to .

Input

One line with the given equation.

Output

Print one number - the value of .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading