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

l = [n for n in range (a,b+1) if c % n == 0]

print((len(l)))
cnt = 0

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

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

    if c % i == 0:

        cnt += 1

print(cnt)

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

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

+cnt = 0 -l = [n for n in range(a, b + 1) if c % n == 0] -print((len(l))) +for i in range(a, b + 1): +    if c % i == 0: +        cnt += 1 +print(cnt)