

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

x=0

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

    if c%i==0:

      x+=1

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



y=0



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

  if c%x==0:

    y+=1



print(y)

    



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

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

-x = 0 -for i in range(a, b + 1): -    if c % i == 0: -        x += 1 -print(x) +y = 0 +for x in range(a, b + 1): +    if c % x == 0: +        y += 1 +print(y)