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

u = b // x
l = a // x

print(u - l)

a,b,x = map(int, input().split())

u = b // x
l = (a + x - 1) // x

print(u - l + 1)