input_line = input().rstrip().split(' ')
l = int(input_line[0])
r = int(input_line[1])
d = int(input_line[2])
output = 0
for i in range(l, r + 1):
    if i % d == 0:
        output = output + 1
print(output)

df3a5e2f4e518209e005f61baac2b26f782431b0
<mask token>

<mask token>
for i in range(l, r + 1):
    if i % d == 0:
        output = output + 1
print(output)

input_line = input().rstrip().split(' ')
l = int(input_line[0])
r = int(input_line[1])
d = int(input_line[2])
output = 0
for i in range(l, r + 1):
    if i % d == 0:
        output = output + 1
print(output)
