import math

inp = raw_input().strip().split()

a = int(inp[0])
b = int(inp[1])
c = int(inp[2])
n = 0

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

if a == b:
    if c%a == 0:
        n = 1
    else:
        n = 0

print n