How many multiples of d are there among the integers between L and R (inclusive)?
l, r, d = map(int,input().split())
ans = l // d - r // d
print(ans)
l, r, d = map(int,input().split())
print(r // d - (l-1)//d)