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())

ans = a//x - (b-1)//x
print(ans)
a, b, x = map(int, input().split())

ans = b//x - (a-1)//x
print(ans)