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

p = 0

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

    if c%j==0:

        p = p+1

print(p)



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

print(sum(c % i < 1 for i in range(a, b + 1)))

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

a, b, c = list(map(int, input().split()))
print(sum(c % i < 1 for i in range(a, b + 1)))

-p = 0 -for j in range(a, b + 1): -    if c % j == 0: -        p = p + 1 -print(p) +print(sum(c % i < 1 for i in range(a, b + 1)))