n=0
(a,b,c) = [int(i) for i in input().split()]
if b > c:
    print(0)
    c = b

else:
    if a > c:
        c = b
    for i in range(a,b+1):
        if c%i==0:
            n=n+1
        
    print(n)