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=[int(i) for i in input().split()]
bx=b//x
ab=a//x if a>0 else -1
print(bx-ab)
a,b,x=[int(i) for i in input().split()]
bx=b//x
ab=(a-1)//x
print(bx-ab)