import sys


a,b,c = map(int, sys.stdin.readline().split())
count=0
if a!=b :
    for i in range(a,b+1):
        print(i)
        if c%i == 0 :
            count+=1
else:
    if c%a == 0 :
        count+=1
print(count)