Problem:
How Many Divisors?  Write a program which reads three integers a , b and c , and prints the number of divisors of c between a and b .  Input  Three integers a , b and c are given in a line separated by a single space.  Output  Print the number of divisors in a line.  Constraints   1 ≤ a , b , c ≤ 10000   a ≤ b   Sample Input 1  5 14 80  Sample Output 1  3

Solution (Python):
import sys


def main():
    a, b, c = [int(i) for i in sys.stdin.readline().split(' ')]
    divisors = 0
    for i in range(a, b+1):
        if i == 0:
            continue
        elif c % i == 0:
            divisors += 1
    print(divisors)
    return


if __name__ == '__main__':
    main()

Solution (Python):
a, b, c = map(int, input().split())

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

Solution (Python):
a,b,c=map(int, input().split())
i=0
for x in range(a,b+1):
    if c%x==0:
        i+=1
print(i)

Solution (Python):
a = input().split()
i = 0
for j in range(int(a[0]),int(a[1])+1):
    if (int(a[2]) % j) == 0:
        i = int(i) + 1

print(i)

Solution (Python):
a,b,c = map(int, input().split())
p = 0
for j in range(a,b + 1):
    if c%j==0:
        p = p+1
print(p)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
    if(c % i == 0):
        ans += 1
print(ans)

Solution (Python):
inp = input()
a = inp.split()
a[0] = int(a[0])
a[1] = int(a[1])
a[2] = int(a[2])
c = 0
for i in range(a[0],a[1]+1):
    if a[2] % i == 0:
        c += 1
print(c)

Solution (Python):
a,b,c=map(int,input().split())
count=0
while a<=b:
    if c%a==0:
        count+=1
    a+=1
print(count)

Solution (Python):
a,b,c = map(int,input().split())
count=0

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

print(count)

Solution (Python):
a, b, c = [int(x) for x in input().split(' ')]
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):






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

Solution (Python):
ans = 0

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

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

print(ans)

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for x in range(a, b+1):
    if c % x == 0:
        ans += 1
print(ans)

Solution (Python):
count = 0
a, b, c = map(int, input().split())
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
	if c % i == 0:
		ans += 1
print(ans)

Solution (Python):
a_b_c=input().split()
a=int(a_b_c[0])
b=int(a_b_c[1])
c=int(a_b_c[2])
count=0
yakusuu_list=[]
for i in range(1,c+1):
    if c%i==0:
        yakusuu_list.append(i)
for i in yakusuu_list:
    if i in range(a,b+1):
        count+=1
print(count)

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

Solution (Python):
a,b,c = map(int, input().split())
cnt = 0

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

print(cnt)

Solution (Python):
a,b,c = map(int, input().split())
count = 0
for i in range(a,b+1):
    if(c % i == 0):
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
count = int(0)
for i in range(a, b + 1):
    if c % i == 0:
        count = count + 1
print(count)

Solution (Python):
j=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if(c%i==0):
        j+=1
print(j)

Solution (Python):
counter=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if((c%i)==0):
        counter=counter+1
print(f"{counter}")

Solution (Python):
j = 0
input = input()
a,b,c = map(int, input.split())
for i in range(a,b + 1):
    if c % i == 0:
        j += 1
print(j)

Solution (Python):
x = input().split(" ")
a = 0
for i in range(int(x[0]),int(x[1]) + 1):
    if int(x[2]) % int(i) == 0:
        a += 1
print(a)

Solution (Python):
a, b, c = [int(i) for i in input().rstrip().split(" ")]
cnt = 0
for i in range(a, b+1):
    if c % i == 0:
        cnt += 1
print(cnt)

Solution (Python):
a, b, c = map(int, input().split())
print(sum(c % x == 0 for x in range(a, b+1)))

Solution (Python):
a,b,c=map(int,input().split())
d=0
while a!=b+1:
    if c%a==0:d+=1
    a+=1
print(d)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for i in range(a, b + 1):
	if c % i == 0:
		ans = ans + 1
print(ans)

Solution (Python):
a,b,c=map(int,input().split())
print(len([x for x in range(a,b+1)if c%x==0]))

Solution (Python):
import sys

def solve():
    a,b,c = map(int,input().split())
    ans = 0
    for i in range(a,b+1):
        if c % i == 0:
            ans += 1
    print(ans)
    
solve()

Solution (Python):
p = 0
a,b,c = map(int,input().split())
x=a
while True:
    if c%x==0:
        p += 1
    x += 1
    if x > b:
        break

print(p)

Solution (Python):
a, b, c = map(int, input().split())

x = 0

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

print(x)

Solution (Python):
a, b, c = map(int, input().split())
x = a
count = 0
for _ in range(b - a + 1):
    if c % x == 0:
        count += 1
    x += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
x = a
count = 0
for i in range(b - a + 1):
    if c % (a + i) == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(b - a + 1):
    if c % (a + i) == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
print(sum((c%i==0 for i in range(a,b+1))))

Solution (Python):
a,b,c = map(int, input().split())
print(sum((c%i==0 for i in range(a,b+1))))

Solution (Python):
a,b,c=map(int, input().split())
print(sum(c%i==0 for i in range(a,b+1)))

Solution (Python):
from sys import stdin

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
print(len([x for x in range(a, b+1) if c % x == 0]))

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())

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

print(ans)

Solution (Python):
a,b,c=map(int,input().split(" "))
count=0
while(a<=b):
    if c%a==0:
        count+=1
    a+=1

print(count)

Solution (Python):
a, b, c = map(int,input().split())
count = 0
for i in range(a, b+1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a,b,c = map(int, input().split())
n = 0;
for i in range(a, b+1):
    if c % i == 0: n += 1
print(n)

Solution (Python):
a, b, c = map(int, input().split())
z = 0
for i in range(a, b + 1):
  if c % i == 0:
    z += 1

print(z)

Solution (Python):
a, b, c = map(int, input().split())
z = 0
for i in range(a, min(b + 1, c + 1)):
    if c % i == 0:
        z += 1

print(z)

Solution (Python):
a,b,c = [int(i) for i in input().split()]
i=0
for num in range(a,b+1,1):
    if c % num == 0:
        i = i+1
    else:
        pass
print(i)

Solution (Python):
a,b,c = [int(i) for i in input().split()]
d = []
for i in range(1,int(c**0.5)+1):
    if i **2 == c:
        d.append(i)
        continue
    if c%i == 0:
        d.extend([i,c//i])
d.sort()
e = [i for i in d if a<=i<=b]
print(len(e))

Solution (Python):
a,b,c = map(int, input().split())
print(len(list(filter(lambda x: c%x==0,range(a,b+1)))))

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

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

Solution (Python):
a,b,c = map(int, input().split())

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

Solution (Python):
count = 0
a, b, c = map(int, input().split())
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(f'{count}')

Solution (Python):
count = 0
a, b, c = map(int, input().split())
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(f'{count}')

Solution (Python):
count = 0
string = input()
numbers = string.split(' ')
x, y, z = int(numbers[0]), int(numbers[1]), int(numbers[2])
while x <= y:
    if z%x == 0:
        count += 1
    x += 1
print(count)

Solution (Python):
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)

Solution (Python):
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)

Solution (Python):
a,b,c=map(int,input().split())
s=0
for i in range(a,b+1):
    if c%i==0:s+=1
print(s)

Solution (Python):
a,b,c=map(int,input().split())
n=0
for i in range(a,b+1):
    if c%i==0:n+=1
print(n)

Solution (Python):
a,b,c = (int(x) for x in input().split())
count = 0

while a <= b:
  if c % a == 0:
    count += 1
  a += 1

print (str(count))

Solution (Python):
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
count = 0

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

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
   if c % i == 0:
       count += 1
print(count)

Solution (Python):
a, b, c = (int(x)for x in input().split())

num = 0

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

print(num)

Solution (Python):
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])

if a > b or a < 1 or c > 10000:
	exit()

cnt = 0
for num in range(a,b+1):
	if (c%num) == 0:
		cnt += 1
print(cnt)

Solution (Python):
a, b, c = map(int, input().split())

cnt = 0

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

print(cnt)

Solution (Python):
a, b, c = map(int, input().split())
i = a
j = 0
while(a <= i and i <= b) :
  if(c % i == 0) :
    i += 1
    j += 1
  else :
    i += 1
else :
  print(j)

Solution (Python):
a,b,c = input().split()
a = int(a)
b= int(b)
c=int(c)
aaa = 0
for x in range(a,b+1):
    if c%x == 0:
        aaa+=1
print(aaa)

Solution (Python):
count=0
a,b,c=(int(x) for x in input().split())
inte=a
while inte<=b:
    if c%inte==0:
        count+=1
    inte+=1
print(count)

Solution (Python):
a,b,c = map(int, input().split())
numbers = []
count = 0

while True:
  if a > b:
    break
  numbers.append(a)
  a += 1

for i in range(len(numbers)):
  if c % numbers[i] == 0:
    count += 1

print(count)

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

Solution (Python):
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])
div_count = 0
for i in range(a, b + 1):
    if c % i == 0:
        div_count += 1
print(div_count)

Solution (Python):
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])
div_list = [i for i in range(a, b + 1) if c % i == 0]
print(len(div_list))

Solution (Python):
a, b, c = map(int,input().split())
count = 0

for i in range(b-a+1):
    if c % (a+i) == 0:
        count += 1
print(count)

Solution (Python):
a,b,c = map(int,input().split())
i = 0      
for d in range(a,b+1) :
  if c%d == 0 :
    i = i + 1
print(i)

Solution (Python):
a,b,c=map(int,input().split());ans=0
for i in range(a,b+1):ans+=(c%i==0)
print(ans)

Solution (Python):
a, b, c = map(int, input().split())
array = range(a, b + 1)
count = 0
for n in array:
    if c % n == 0:
        count = count + 1
print(count)

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

Solution (Python):
a,b,c = map(int, input().split())
ret = 0
for i in range(a,b+1):
    if c % i == 0:
        ret += 1
print(ret)

Solution (Python):
a,b,c = map(int,input().split(" "))
list_divisor=[i for i in range(1,c+1) if c % i == 0]
cnt = [j for j in range(a,b+1) if j in list_divisor]
print(len(cnt))

Solution (Python):


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

Solution (Python):
l = []
a,b,c = map(int,input().split())
for i in range(a,b+1):
    if c % i == 0:
        l.append(i)
ll = len(l)
print(str(ll))

Solution (Python):
nums =[int(e) for e in input().split()]
yakusuu = []
yakusuu_count = 0
for j in range(1,nums[2]+1):
    if nums[2]%j== 0:
        yakusuu.append(j)
for k in range(len(yakusuu)):
    if nums[0]<=yakusuu[k] and yakusuu[k]<=nums[1]:
        yakusuu_count += 1
print(yakusuu_count)

Solution (Python):
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])

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

Solution (Python):
x = input().split()
a, b, c = int(x[0]), int(x[1]), int(x[2])

print(len([i for i in range(a, b + 1) if c % i == 0]))

Solution (Python):
a, b, c = map(int, input().split())
counter = 0
    
for i in range(a, b+1):
        if c % i == 0:
            
            counter += 1
print(counter)

Solution (Python):
a, b, c = map(int, input().split())
i = 0
for v in range(a, b+1):
    if c % v == 0:
        i += 1
print(i)

Solution (Python):
a,b,c = map(int, input().split())

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

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

Solution (Python):
a,b,c = map(int, input().split())

count = 0

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

print(count)

Solution (Python):
a,b,c = map(int,input().split())
cnt = 0
for d in range(a,b+1):
   if c%d==0: cnt+=1
print(cnt)

Solution (Python):
a,b,c = map(int,raw_input().split())
 
x  = 0
for i in range(a,b+1):
    if (c % i == 0): 
       x += 1
print x

Solution (Python):
a,b,c = map(int,input().split())
counter = 0

while a<=b:
    if(c % a == 0):
        counter +=1
    a+=1


print(counter)

Solution (Python):
a,b,c = map(int, input().split())
x = 0

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

if c % b == 0:
 x += 1

print(x)

Solution (Python):
from sys import stdin

a, b, c = (int(n) for n in stdin.readline().rstrip().split())

cnt = 0

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

print(cnt)

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

Solution (Python):
a, b, c = map(int, input().split())

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

Solution (Python):
a, b, c = list(map(int, input().split()))
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1

print(count)

Solution (Python):
num = list(map(int,input().split()))
c = 0
for i in range(num[0],num[1]+1):
    if(num[2]%i == 0): c = c+1

print(c)

Solution (Python):
a,b,c=map(int,input().split())
y=0

for i in range(b-a+1):
    j=1
    while (i+a)*j <= c:
        if (i+a)*j==c:
            y+=1
            break
        j+=1
print(y)

Solution (Python):
a,b,c = map(int,input().split())
ans = 0
for i in range(a,b+1):
    if c % i == 0:
        ans += 1
print(ans)

Solution (Python):
a,b,c = map(int,input().split())

ans = 0
num = a

while True:
    if c%num == 0:
        ans += 1
    num += 1
    if num > b:
        break

print(ans)

Solution (Python):
count=0
a,b,c=map(int,input().split())
for i in range(a,b+1):
    if c%i==0:count+=1
print(count)

Solution (Python):
a,b,c = map(int, input().split())
n = 0
for i in range(a, b+1):
  if c % i == 0:
    n += 1
print(n)

Solution (Python):
a,b,c = map(int, input().split())
print(len([1 for i in range(a, b+1) if c % i == 0]))

Solution (Python):
a, b, c = map(int, input(). split())
n = 0
for i in range(a, b+1):
  if c % i == 0:
    n += 1
print(n)

Solution (Python):
a,b,c=map(int,input().split())
n=0
for i in range(a,b+1):
  if c%i==0:
    n+=1
print(n)

Solution (Python):
a,b,c = map(int, input().split())
n = 0
for i in range(a, b+1):
  if c % i == 0:
     n += 1
print(n)

Solution (Python):
a, b, c = map(int, input().split())
n=0
for i in range(a, b+1):
  if c % i ==0:
    n += 1
print(n)

Solution (Python):
x = input().split()
a,b,c=[int(x) for x in x]
ans=0
for x in range(a,b+1):
    if c%x==0:ans+=1
print(ans)

Solution (Python):
a,b,c = map(int, input().split())
n = 0
for i in range(a,b+1):
    if c % i == 0:
        n += 1
print(n)

Solution (Python):
def aizu007():
    xs = map(int,raw_input().split())
    a,b,c = xs[0],xs[1],xs[2]
    cnt = 0
    for i in range(a,b+1):
        if c%i == 0:
            cnt = cnt + 1
    print cnt
aizu007()

Solution (Python):
a,b,c=map(int,raw_input().split())
count=0
for i in range(a,b+1):
    if c%i==0:
        count+=1
print count

Solution (Python):
val = map(int,raw_input().split())
count = 0
for x in xrange(val[0], val[1] + 1):
	pass
	if val[2] % x == 0:
		count+=1
print count

Solution (Python):
[a,b,c] = raw_input().split()
a = int(a)
b = int(b)
c = int(c)
k = 0
for t in range(a,b+1):
    if c % t == 0:
        k = k + 1
        
print k

Solution (Python):
ans = 0
a = map(int, raw_input().split())
for i in range(a[0], a[1] + 1):
    if a[2] % i == 0:
        ans += 1
print(ans)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0

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

print(ans)

Solution (Python):
a,b,c=map(int,raw_input().split())
i=0
for x in xrange(a,b+1):
    if c%x==0: i+=1
print i

Solution (Python):
x = (list(map(lambda x : int(x), input().split(" "))))
count = 0
for i in range(x[0], x[1]+1):
	if x[2] % i == 0:
		count += 1
print(count)

Solution (Python):
a,b,c=[int(i) for i in raw_input().split()]
cnt=0
for i in range(a,b+1):
    if c%i==0:
        cnt+=1
print cnt

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1

print("%d" % count)

Solution (Python):
(a, b, c) = map(int, raw_input().split())

count = 0

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

print count

Solution (Python):
a,b,c = map(int,raw_input().split())

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

Solution (Python):
a,b,c = map(int, raw_input().split(" "))
result = 0
for v in xrange(a, b+1):
	if (c % v) == 0:
		result += 1
print result

Solution (Python):
a, b, c = map(int, input().split())
print(len([x for x in range(a, b+1) if (c % x) == 0]))

Solution (Python):
a,b,c = map(int,raw_input().split())
count = 0
for i in range(a,b+1):
	if c%i == 0:
		count += 1
print str(count)

Solution (Python):
a,b,c = map(int, raw_input().split())
count = 0
while 1:
	if c % a == 0:
		count += 1
	if a == b:
		break
	a += 1

print count

Solution (Python):
a,b,c = map(int,raw_input().split())
t=0
for i in range(a,b+1):
    if not c%i:
        t+=1
print t

Solution (Python):
a, b, c = map(int, raw_input().split())
div_cnt = 0
for i in range(a, b + 1):
    if c % i == 0:
        div_cnt += 1
print div_cnt

Solution (Python):
a, b, c = map(int, input().split())
n = 0
for i in range(a, b+1):
    if c%i==0:
        n += 1
print(n)

Solution (Python):
a,b,c = map(int,raw_input().split())
i = 0
for x in range(a,b+1):
    if c % x==0:
        i += 1
if a == b:
    if c % a == 0:
        i = 1

print i

Solution (Python):
x = map(int,raw_input().split())
a,b = sorted(x[:2])
print sum([1 for i in range(a,b+1) if x[2]%i==0])

Solution (Python):
count = 0
a,b,c = map(int,input().split())
for i in range(a,b+1):
	if c%i==0:
		count+=1
print(count)

Solution (Python):
a, b, c = map(int, input().split())

count = 0

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

print(count)

Solution (Python):
x,y,z=map(int,raw_input().split());c=0
for i in range(x,y+1):
 if z%i==0: c+=1
print c

Solution (Python):
x,y,z=map(int,raw_input().split());c=0
for i in range(x,y+1):
 if z%i==0: c+=1
print c

Solution (Python):
a, b, c = map(int, raw_input().split())
count = 0
for x in range(a, b+1):
	if c % x == 0:
		count += 1
print count

Solution (Python):
(a,b,c) = (int(i) for i in input().split())

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

Solution (Python):
(a, b, c) = [int(i) for i in input().split()]

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

print(count)

Solution (Python):
(a, b, c) = [int(x) for x in input().split()]

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

print(count)

Solution (Python):
(a, b, c) = [int(x) for x in input().split()]

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

print(count)

Solution (Python):
a,b,c=map(int, raw_input().split())
i=0
for d in range(a,b+1):
		if c%d==0:
			i=i+1
print i

Solution (Python):
import sys

def main():
    for line in iter(sys.stdin.readline, ""):
        
        a = line.rstrip("\n")
        tmp = a.split(" ")
        a = int(tmp[0])
        b = int(tmp[1])
        n = int(tmp[2])
        cnt = 0
        for i in range(1, n+1):
            if (n % i == 0) and (a <= i and i <= b):
                cnt = cnt + 1
                
        print (cnt)    
if __name__ == "__main__":
    main()

Solution (Python):

"""
Created on Tue Feb 03 11:29:17 2015

@author: hirose
"""

n = map(int, raw_input().split())

a = n[0]
b = n[1]
c = n[2]

x = a
number = 0

while(1):
    if(c % x == 0):
        number += 1
    x += 1
    if(x > b):
        break
print number
exit(0)

Solution (Python):
a, b, c = (int(i) for i in input().split())
divisor = 0
for i in range(a, b + 1):
  if c % i == 0:
    divisor += 1
print(str(divisor))

Solution (Python):
a,b,c = raw_input().split()
a,b,c = map(int,(a,b,c))

total=0
for divisor_candidate_num in range(a,b+1):
    if c%divisor_candidate_num==0:
        total +=1
print total

Solution (Python):
x = input().split(' ')
a = int(x[0])
b = int(x[1])
c = int(x[2])
e = int(0)
for i in range(a,b+1):
    if c % i == 0:
        e += 1
print(e)

Solution (Python):
a,b,c=map(int,input().split())
s=0
for i in range(a,b+1):
    if c%i==0:    s+=1
print(s)

Solution (Python):
(a, b, c) = [int(x) for x in input().split()]
count = 0
for d in range(a, b + 1):
    if c % d == 0:
        count += 1
print(count)

Solution (Python):
import sys
(a, b, c) = [int(i) for i in sys.stdin.readline().split()]
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
a, b, c = [int(x) for x in input().split()]

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

Solution (Python):
a, b, c = map(int, raw_input().split())
counter = 0
for i in range(b-a+1):
	if c%a == 0:
		counter += 1
	a += 1
print counter

Solution (Python):
a, b, c = map(int, raw_input().split())
counter = 0
for i in range(a, b+1):
	if c%i == 0:
		counter += 1
print counter

Solution (Python):
if __name__ == '__main__':
    a, b, c = [int(i) for i in input().split()]
    cnt = 0
    for i in range(a, b+1):
        if c%i == 0:
            cnt = cnt+1
    print(cnt)

Solution (Python):



a, b, c = map(int, input().split())
ret = [i for i in range(a, b+1) if c%i == 0]
print(len(ret))

Solution (Python):

if __name__ == "__main__":
	a, b, c = input().split()
	a, b, c = int(a), int(b), int(c)
	count = 0
	for i in range(a, b + 1):
		if c % i == 0:
			count += 1
	print(count)

Solution (Python):


a,b,c = map(int,input().split())
count = 0
for divisor in range(a , b+1):
    if c%divisor == 0:
        count += 1
print(count)

Solution (Python):


a,b,c = map(int,input().split())
count = 0
for divisor in range(a , b+1):
    if c % divisor == 0:
        count += 1
print(count)

Solution (Python):
[a,b,c]=raw_input().split()
x=int(a)
y=int(b)
z=int(c)
ans=[]
for n in range(x,y+1):
	if z%n==0:
		ans.append(n)
print len(ans)

Solution (Python):
a, b, c = map(int, input().split())
print(sum(not (c % i) for i in range(a, b + 1)))

Solution (Python):
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
cnt = 0
i = a
while i <= b:
	if ( c % i ) == 0:
		cnt += 1
	i += 1
print( "{}".format( cnt ) )

Solution (Python):
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
cnt = 0
for divisor in range( a, b+1 ):
    if ( c % divisor ) == 0:
        cnt += 1
print( "{}".format( cnt ) )

Solution (Python):
import sys

a, b, c = [ int( val ) for val in sys.stdin.readline().split( " " ) ]
cnt = 0
for i in range( a, b+1 ):
	if 0 == c%i:
		cnt += 1
print( "{}".format( cnt ) )

Solution (Python):
a, b, c = map(int, raw_input().split())
counter = 0
for i in xrange(a, b+1):
	if c % i == 0:
		counter += 1

print counter

Solution (Python):
a,b,c=map(int, input().split(" "))
count=0

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

Solution (Python):
ia=[int(i) for i in input().split(" ")]
c=0
for i in range(ia[0],ia[1]+1):
	if ia[2]%i==0:
		c+=1
print(c)

Solution (Python):
a, b, c = map(int, raw_input().split())
divisor = 0
for i in range(a, b+1):
    if c%i == 0:
        divisor += 1
print divisor

Solution (Python):


n = 0
a,b,c = map(int,raw_input().split())
for i in range(a,b+1):
    if c % i == 0:
        n += 1
print n

Solution (Python):
a, b, c = map(int, raw_input().split())
print sum(1 for i in xrange(a, b + 1) if c % i == 0)

Solution (Python):
def main():

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

	a_to_b = list(range(a, b + 1))    
	result = [x for x in a_to_b if c % x == 0]
	
	count = int(len(result))
	print(count)
	


if __name__=="__main__":
	main()

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):


a, b, c = map(int, raw_input().rstrip().split())
print sum([1 if not c % i else 0 for i in range(a, b+1)])

Solution (Python):

def havediv( target, elm):
    s = target / elm
    if target == s*elm:
        return True
    else:
        return False


if __name__ == "__main__":
        v = map( int, raw_input().split())
        ct = 0
        i = v[0]
        while i <= v[1]:
            if havediv( v[2], i):
                ct += 1
            i += 1
        print ct

Solution (Python):
a, b, c = map(int, raw_input().split())
count = 0
for i in range(a, b+1):
  if c % i  == 0:
    count += 1
print count

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(a, b + 1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = count + 1
print(count)

Solution (Python):
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
    if (c % i) == 0:
        cnt = cnt + 1
print(cnt)

Solution (Python):
(a, b, c) = (int(i) for i in input().split())

count = 0

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

print(count)

Solution (Python):
arr = map(int, raw_input().split())
ans = 0
for x in range(arr[0], arr[1] + 1):
  if arr[2] % x == 0:
    ans += 1

print(ans)

Solution (Python):
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
    if (c % i) == 0:
        cnt = cnt + 1
print(cnt)

Solution (Python):
import warnings

data = map(int, raw_input().split())

a = data[0]
b = data[1] + 1
c = data[2]

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



print count

Solution (Python):
(a,b,c) = (int(i) for i in input().split())
 
count = 0
for i in range(a,b+1):
    if c % i == 0:                                                          
        count += 1
print(count)

Solution (Python):
(a, b, c) = [int(x) for x in input().split()]
count = 0
for d in range(a, b + 1):
    if c % d == 0:
        count += 1
print(count)

Solution (Python):
( a, b, c) = [int(i) for i in input().split()]

count = 0

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

Solution (Python):
( a, b, c) = [int(i) for i in input().split()]
 
count = 0
 
for i in range( a, b+1):
    if c % i == 0:
        count += 1
print( count)

Solution (Python):
x = input().split(' ')
a = int(x[0])
b = int(x[1])
c = int(x[2])
e = int(0)
for i in range(a,b+1):
    if c % i == 0:
        e += 1
print(e)

Solution (Python):
line = map(int, raw_input().split(" "))
count = 0
for value in range(line[0], line[1] + 1):
  if line[2] % value == 0:
    count += 1
print count

Solution (Python):

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

Solution (Python):
if __name__ == "__main__":
    a, b, c = input().split()
    a, b, c = int(a), int(b), int(c)
    count = 0
    for i in range(a, b + 1):
        if c % i == 0:
            count += 1
    print(count)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
 
print("%d" % count)

Solution (Python):
( a, b, c) = [int(i) for i in input().split()]
 
count = 0
 
for i in range( a, b+1):
    if c % i == 0:
        count += 1
print( count)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
  
print("%d" % count)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
   
print("%d" % count)

Solution (Python):
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
    if (c % i) == 0:
        cnt = cnt + 1
print(cnt)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
  
print("%d" % count)

Solution (Python):
(a, b, c) = (int(i) for i in input().split())
count = 0
for i in range(a, (b + 1)):
    if c % i == 0:
        count = count + 1
print(count)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
   
print("%d" % count)

Solution (Python):
a,b,c=map(int,input().split())
s=0
for i in range(a,b+1):
    if c%i==0:    s+=1
print(s)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1  
print("%d" % count)

Solution (Python):
a,b,c = map(int,input().split()) ;
count = 0 ;
for i in range(a,b+1) :
  d = c % i ;
  if d == 0 :
     count = count +1
    
print("%d" % count)

Solution (Python):
from itertools import repeat
print(sum((lambda a, b, c: map(lambda r, n: n % r == 0,
                               range(a, b+1), repeat(c))
           )(*map(int, input().split()))))

Solution (Python):
a,b,c=map(int,raw_input().split())
l=[i for i in xrange(a,b+1) if c%i==0]
print len(l)

Solution (Python):
i = list(map(int, input().split()))
a = i[0]
b = i[1]
c = i[2]

answer = 0

for j in range(a, b + 1) :
    if c % j == 0 :
        answer += 1
print(answer)

Solution (Python):
x, y, val = map(int, raw_input().split())
res = 0
for i in range(x, y+1):
    if val % i == 0:
        res += 1
print res

Solution (Python):
three_num = input()
three_num = [int(i) for i in three_num.split(" ")]

a = three_num[0]
b = three_num[1]
c = three_num[2]

cnt = 0

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

print(cnt)