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)
a, b, c = list(map(int, input().split()))

result = []

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

    if c % i == 0:

        result.append(i)

print((len(result)))

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)

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

-count = 0 +result = [] -        count += 1 -print(count) +        result.append(i) +print((len(result)))