How many multiples of d are there among the integers between L and R (inclusive)?
L, R, d = [int(x) for x in input().split()]

mod = (L+d) % d
# print((R - L - mod) // d)
lst = list(range(L+mod, R+1, d))
print(list(lst))
print(len(lst))
L, R, d = [int(x) for x in input().split()]

lst = list(range(d, 101, d))

ret = list(filter(lambda x: L <= x <= R, lst))

# print(ret)
print(len(ret))