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

cnt = 0

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

    if c % i == 0: cnt += 1



print (cnt)
def get_divisors(a, b, c):

    #get list of divisors of c

    res = [i for i in range(1, c+1) if c % i == 0]



    #filter between a and b

    res = [i for i in res if a <= i <= b]



    # return sum

    

    return len(res)



if __name__ == "__main__":

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

    print((get_divisors(a, b, c)))

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

def get_divisors(a, b, c):
    # get list of divisors of c
    res = [i for i in range(1, c + 1) if c % i == 0]
    # filter between a and b
    res = [i for i in res if a <= i <= b]
    # return sum
    return len(res)


if __name__ == "__main__":
    a, b, c = list(map(int, input().split()))
    print((get_divisors(a, b, c)))

-a, b, c = list(map(int, input().split(" "))) -cnt = 0 -for i in range(a, b + 1): -    if c % i == 0: -        cnt += 1 -print(cnt) +def get_divisors(a, b, c): +    # get list of divisors of c +    res = [i for i in range(1, c + 1) if c % i == 0] +    # filter between a and b +    res = [i for i in res if a <= i <= b] +    # return sum +    return len(res) + + +if __name__ == "__main__": +    a, b, c = list(map(int, input().split())) +    print((get_divisors(a, b, c)))