def count_divisors(a, b, c):
    if a == b:
        return (1 if c % a == 0 else 0)

    return (1 if c % a == 0 else 0) + count_divisors(a+1, b, c)

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

print(count_divisors(a, b, c))