a, b, c = list(map(int, input().split()))

cnt = 0

for i in range(a, b+1):

    if c % i == 0:

        cnt += 1

print(cnt)
a, b, c = list(map(int, input().split()))

divisor = 0

for n in range(a, b+1):

    if c % n == 0:

        divisor += 1

print(divisor)
a, b, c = list(map(int, input().split()))
cnt = 0
for i in range(a, b + 1):
    if c % i == 0:
        cnt += 1
print(cnt)

a, b, c = list(map(int, input().split()))
divisor = 0
for n in range(a, b + 1):
    if c % n == 0:
        divisor += 1
print(divisor)

-cnt = 0 -for i in range(a, b + 1): -    if c % i == 0: -        cnt += 1 -print(cnt) +divisor = 0 +for n in range(a, b + 1): +    if c % n == 0: +        divisor += 1 +print(divisor)