Solve for N from input string
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!