a,b,c = [int(x) for x in input().split( )]

div = []

for x in range(1,c+1):

    if c % x == 0:

        div.append(x)

r = []

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

    r.append(x)

answer = 0

for x in div:

    for y in r:

        if x == y:

            answer += 1

print(answer)

a,b,c = [int(x) for x in input().split( )]

count = 0

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

    if c % number == 0:

        count += 1

print(count)

a, b, c = [int(x) for x in input().split()]
div = []
for x in range(1, c + 1):
    if c % x == 0:
        div.append(x)
r = []
for x in range(a, b + 1):
    r.append(x)
answer = 0
for x in div:
    for y in r:
        if x == y:
            answer += 1
print(answer)

a, b, c = [int(x) for x in input().split()]
count = 0
for number in range(a, b + 1):
    if c % number == 0:
        count += 1
print(count)

-div = [] -for x in range(1, c + 1): -    if c % x == 0: -        div.append(x) -r = [] -for x in range(a, b + 1): -    r.append(x) -answer = 0 -for x in div: -    for y in r: -        if x == y: -            answer += 1 -print(answer) +count = 0 +for number in range(a, b + 1): +    if c % number == 0: +        count += 1 +print(count)