Solve for N from input string Challenge :

Your job is to find the given number N. 



Input :

You will be given a string in the following form:

dN ± Y = X


Where:

d, N, X, Y are all numbers with d , X , Y being integers (not decimals).




Output :

Solve the equation and output the value of N rounded. Round up if decimal is greater than or equal to 0.5 and round down if less than 0.5 



Examples :

Input                  Output
 N + 1 = 3        ---&gt; 2
 N - 1 = 5        ---&gt; 6
2N + 1 = 3        ---&gt; 1 
2N + 1 = 4        ---&gt; 2




Winning criteria :

This is code-golf so the shortest code in each language wins. 



Notes :


Answer must be rounded it cannot be a float
Whitespace do not matter. You can have every element in the string separated by white space if you want or if you don't want leave it as it is.
You do not need to check for invalid input. i.e. All inputs will be strings in the given format.
Python 2, 88 74 70 bytes

-14 bytes thanks to Chas Brown.
-4 bytes thanks to Sunny Patel.



d,w,Y,_,X=input().split()
print round((int(X)-int(w+Y))/float(d[:-1]))


Try it online!