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?
k = list(map(int,input().split()))

print(k[0]//k[2]-k[1]//k[2])

n = list(map(int,input().split()))
if n[0] == 0:
        print(n[1]//n[2]+1)
else:
        print(n[1]//n[2]-(n[0]-1)//n[2])
