Equation for the 5-th class!
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The equation for the fifth grader is a line of length 5 symbols. The second symbol in the line is either a sign '+' (plus) or '-' (minus), the forth symbol is a sign '=' (equals to). Amonng the first, third and fifth symbol exactly two are digits in the range from 0 to 9, and one is a letter x that is a variable.
Write a program to solve the given equation with respect to x.
Input
One line with the given equation.
Output
Print one number - the value of x.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 3K
Acceptance rate 36%