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

count=0                                                                     

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

    if c % i == 0:

        count+=1

print(count)
num=input().split()

a=int(num[0])

b=int(num[1])

c=int(num[2])

count=0



while True:

  if a<=b:

    if c%a==0:

      count+=1

    a+=1

  else:

    break

print(count)

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

num = input().split()
a = int(num[0])
b = int(num[1])
c = int(num[2])
count = 0
while True:
    if a <= b:
        if c % a == 0:
            count += 1
        a += 1
    else:
        break
print(count)

-a, b, c = list(map(int, input().split())) +num = input().split() +a = int(num[0]) +b = int(num[1]) +c = int(num[2]) -for i in range(a, b + 1): -    if c % i == 0: -        count += 1 +while True: +    if a <= b: +        if c % a == 0: +            count += 1 +        a += 1 +    else: +        break