You are given nonnegative integers a and b (a ≤ b), and a positive integer x. Among the integers between a and b, inclusive, how many are divisible by x?
A, B, x = map(int,input().split())
b_d = B//x+1
a_d = A//x
if A!=0:
   a_d+=1
print(b_d - a_d)
A, B, x = map(int,input().split())
b_d = B//x+1
a_d = A//x
if A!=0 and A%x!=0:
   a_d+=1
print(b_d - a_d)