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 .
One line with the given equation.
Print one number - the value of .
Example 1
Example 2