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



count = 0

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

    if c % d == 0:

        count += 1



print(count)
a, b, c = [int(i) for i in input().split()]



total = 0

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

    if c % d == 0:

        total += 1



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

a, b, c = [int(i) for i in input().split()]
total = 0
for d in range(a, b + 1):
    if c % d == 0:
        total += 1
print(total)

-(a, b, c) = [int(x) for x in input().split()] -count = 0 +a, b, c = [int(i) for i in input().split()] +total = 0 -        count += 1 -print(count) +        total += 1 +print(total)