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):
output=[]
i=0
a,b,c=map(int, input().split())
divisors_list = [i for i in range(a, b+1)]
x = [c%divisor_candidate for divisor_candidate in divisors_list]
print(x.count(0))

Solution (Python):
abc = list(map(int, input().split()))

ans = 0
for i in range(abc[0], abc[1]+1):
    if abc[2] % i == 0:
        ans += 1

print("{}".format(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())
num=0
for i in range(a,b+1):
    if c%i==0:
        num+=1
print(num)

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

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

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())
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())
res = 0
for i in range(a, b + 1):
    if c % i == 0:
        res += 1
print(res)

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


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

print(count)

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

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

print(n)

Solution (Python):
i = input()
a,b,c = list(map(int,i.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):
input_value = input()

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

divisors_counter = 0

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

print(divisors_counter)

Solution (Python):
a,b,c = map(int,input().split())
ans = 0
yakusuu = []
for i in range(1,c+1):
    if c%i == 0:
        yakusuu.append(i)
for i in range(a,b+1):
    if i in yakusuu:
        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 = cnt + 1
    if i == b:
        break
print(cnt)

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

for i in range(a,b+1):
    if c % i == 0:
        l.append(i)
    
print(len(l))

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

Solution (Python):
def make_divisors(n):
  divisors = []
  for i in range(1, int(n**0.5)+1):
    if n % i == 0:
      divisors.append(i)
      if i != n // i:
        divisors.append(n//i)

    divisors.sort()
  return divisors

a, b ,c = map(int, input().split())
divisors = make_divisors(c)
ans = []
for i in divisors:
  if  a <= i <= b:
    ans.append(i)
print(len(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,input().split())

x = 0
d = a

while True:
    if c%d == 0:
        x += 1
    d += 1
    if d > b:
        break

print(x)

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

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())

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())
counter = 0

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

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

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

print(counter)

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):
x=list(map(int,input().split()))
c=0
if x[0]==x[1]:
	if x[2]%x[0]==0:
		c+=1
else:
	for i in range(x[0],x[1]+1):
		if x[2]%i==0:
			c+=1
print(c)

Solution (Python):
x,y,z=map(int,input().split())
count = 0
for i in range(x,y+1):
    if z % i == 0:
        count += 1
    else:
        continue
print(count)

Solution (Python):
count = 0
a, b, c = list(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 x in range(a,b+1):
    if c % x == 0:
        count += 1
print(count)

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

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 i in range(a,b+1):
    if c%i == 0:cnt+=1
print(cnt)

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

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

Solution (Python):


def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)

    
    return divisors
  
  
def main():
  a, b, c = map(int, input().split(' '))
  
  divisors = make_divisors(c)
  count = 0
  
  for i in range(a, b+1):
    if i in divisors:
      count+=1

  print(count)


if __name__ == "__main__":
  main()

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

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

for n in range(a,b+1):
    if n in x:
        ans.append(n)

print(len(ans))

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

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(' '))
d = 0
while a<=b:
  if c%a==0:
    d +=1
    a+=1
  else:
    a+=1
print(d)

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

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

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

Solution (Python):
s = input().split()
a = int(s[0])
b = int(s[1])
c = int(s[2])
count = 0
while a <= b:
    if c%a == 0:
        count += 1
    a += 1
print(count)

Solution (Python):
sc = input().split()
a = int(sc[0])
b = int(sc[1])
c = int(sc[2])
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(count)

Solution (Python):

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

res = 0

if a > b:
    a, b = b, a

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

print(res)

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

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

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):


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

Solution (Python):
def count_divisor(a, b, c):
    count = 0
    value = a
    while value <= b:
        if c % value == 0:
            count += 1
        value += 1
    return count


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

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(lambda x: int(x), 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, input().split())

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

print(count)

Solution (Python):

import sys


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

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

print(tmp)

Solution (Python):
a, b, c = map(int, input().split())
d = 0
for i in range(a, b + 1):
    if (c % i) == 0:
        d += 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 += 1
print(ans)

Solution (Python):
a, b, c = map(int, list(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, input().split())
count = 0

if(a == b and b == c):
    print(1)

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

Solution (Python):
val = input().split()
val = [int(n) for n in val]

cnt = 0
for i in range(val[0], val[1] + 1):
    p = val[2] % i
    if val[2] % 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())

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())

divisors = []
for candidate in range(a,b+1):
    if c % candidate == 0:
        divisors.append(candidate)
print(len(divisors))

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())
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
for i in range(a,b+1):
  if c%i==0:
    count += 1
print(count)

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

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

target = 0

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

print(target)

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):
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):
a,b,c = map(int, input().split())
l = 0
for i in range(a,b+1):
    if c % i == 0:
        l += 1
print(l)

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

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

print(count)

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

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 = [int(i) for i in 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())
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())
A = []
for i in range(a,b+1):
    if c % i == 0:
        A.append(i)
print(len(A))

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
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,input().split())
a=0
for i in range(x,y+1,1):
    if z % i ==0:
        a+=1
print(a)

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):
import sys
input = sys.stdin.readline

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

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

print(count)

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(int(counter))

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())
d=0
for i in range(a,b+1):
    if c%i==0:
        d+=1
print(d)

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 = 0

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

print(count)

Solution (Python):
num_list = list(map(int,input().split()))

a=num_list[0]
b = num_list[1]
c = num_list[2]
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
ans=0

while i<=b:
    
    if c%i==0:
        ans+=1
    i+=1

print(ans)

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

ans = 0
n = a

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

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):
def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5) + 1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n // i)

    divisors.sort()
    return divisors
a, b, c = map(int, input().split())
div = make_divisors(c)
print(len([1 for d in div if a <= d <= b]))

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

Solution (Python):
inp_line = list(map(int, input().split()))

count = 0
for i in range(inp_line[0], inp_line[1] + 1):
    if inp_line[2] % i == 0:
        count += 1

print(count)

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

c_yakusuu = []
for i in range(1, c+1):
    if c % i == 0:
        c_yakusuu.append(i)
        
for i in range(a,b+1):
    if i in c_yakusuu:
        count += 1
            
print(str(count))

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

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

Solution (Python):
a,b,c = [int(i) for i in input().split()]
ans = 0
for i in range(a,b+1):
    if not c % i:
        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())
answer = 0
while a <= b:
    if 0 == c % a:
        answer += 1
        a = a + 1
    else:
        a = a + 1
print(answer)

Solution (Python):
count = 0

data_list = list(map(int, input().split()))

for i in range(data_list[0], data_list[1]+1):
    if data_list[2] % 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(str(cnt))

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
for i in range(a,b+1):
    if c % i == 0:
        count+=1

print(str(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):
l = input().split()

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

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())
yaku=0
for i in range(a,b+1):
    if(c%i==0):
        yaku+=1

print(yaku)

Solution (Python):
import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

ans = 0
A = [int(i) for i in readline().split()]
for i in range(A[0], A[1] + 1):
    if A[-1] % i == 0:
        ans += 1
print(ans)

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

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())
d=0
for i in range(a,b+1,1):
    if c%i==0:
        d = d+1
        
print(d)

Solution (Python):
x,y,z = map(int,input().split())
count = 0
for num in range(x,y+1):
    if z % num == 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(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 = list(map(int, input().split() ))
n = 0
for i in range(a,b+1):
 if c%i == 0:
  n = n+1
print(n)

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())

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

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

Solution (Python):


iim = lambda: map(int, input().rstrip().split())

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

if __name__ == "__main__":
    resolve()

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

Solution (Python):
a,b,c = map(int,input().split())
i = 0
while True:
    if c % b == 0:
        i = i + 1
    b = b - 1
    if b < a:
        break
print("%d" % (i))

Solution (Python):

import sys

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())
ans = 0
num = a

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

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):
a, b, c = map(int, input().split())
res = 0
for i in range(a, b + 1):
    if c % i == 0:
        res += 1

print(res)

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

Solution (Python):
number = input().split()

a = int(number[0])
b = int(number[1])
c = int(number[2])
divisors = 0

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

print(divisors)

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):
a,b,c=(int(x) for x in input().split())
l=[]
for i in range(1,int(c**0.5)+1):
  if c%i==0:
    l.append(i)
    if i!=c//i:
      l.append(c//i)
count=0
for j in range(len(l)):
  if a<=l[j]<=b:
    count+=1
print(count)

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

Solution (Python):
a, b, c=input().split()
a=int(a)
b=int(b)
c=int(c)
a=a-1
i=0

while a<b:
    a+=1
    if  c%a==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 = ans + 1

print(ans)

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

bma = b - a
result = 0

for i in range(bma+1):
    if c % a == 0:
        result+=1
    a+=1

print(result)

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())

x = a
y = 0

while x <= b:
    if c % x == 0:
        y += 1
        x += 1
    else:
        x += 1

print(y)

Solution (Python):
start, end, target = [int(x) for x in input().split()]

count = 0
for i in range(start, end + 1):
    if target % 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 = list(map(int, input().split()))

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

print(count)

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

Solution (Python):

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

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

count = 0
for j in range(0, len(x)):
    if a <= x[j] and x[j] <= b:
        count = count + 1

print(count)

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

i = a
count=0

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

print(count)

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

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(map(lambda x: c%x==0, range(a, b+1))))

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())
ans = 0

while True:
    if c % a == 0:
        ans += 1
        a += 1
    else:
        a += 1
    if a > b:
        break
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());print(sum(c % i == 0 for i in range(a,b+1)))

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())
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())
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())

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

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
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(count)

Solution (Python):
import sys

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

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

print(k)

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):
def calc_divisor_num(a, b, c):
    count = 0

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

    print(str(count))

if __name__ == "__main__":

    param = input()
    param = param.split(" ")

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

    calc_divisor_num(a, b, c)

Solution (Python):
integer = list(map(int, input().split(" ")))
a = integer[0]
b = integer[1]
c = integer[2]
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())
ans = 0
for i in range(a, b+1):
    ans += c // i * i == c
print(ans)

Solution (Python):
a, b, c = map(int, input().split())
ans = 0
for _ in range(a, b + 1):
    if c % _ == 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):
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):
num=input().split()
a=int(num[0])
b=int(num[1])
c=int(num[2])
count=0

while True:
  if a<=b:
    if c%a==0:
      count+=1
    a+=1
  else:
    break
print(count)

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

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

main()

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):
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 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())
l = list(range(a,b+1))
count = 0
for number in l:
    if c%number == 0:
        count += 1
print(count)

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

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

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

print(x)

Solution (Python):
a, b, c = [int(i) for i in 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=int(b)
c=int(c)

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

print(i)

Solution (Python):
abc = input().split()
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])
i = 1 
yakusu_ko = 0
for i in range(1,c+1):
    amari = c % i
    if amari ==0 and a <= i <= b:
        yakusu_ko +=1
print(yakusu_ko)

Solution (Python):
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)

Solution (Python):

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

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

print(cnt)

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

Solution (Python):
l = list(map(int, input().split()))
a,b,c = l[0],l[1],l[2]
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):
    if c % i == 0:
        count = count + 1
print(count)

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

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):
d = 0
n = input().split()
a,b,c = map(int,n)
for i in range(a,b+1):
    if c % i == 0:
        d += 1
print(d)

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

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

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

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

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

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

Solution (Python):
arr=input().split()
for i,v in enumerate(arr):
    arr[i]=int(v)
count=0
for v in range(arr[0],arr[1]+1):
    if arr[2]%v==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, input().split())
n = 0
for i in range(x, y+1):
    if z % i == 0:
        n += 1

print(n)

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

Solution (Python):
a, b, c = map(int, input().split())
count = 0
for i in range(1, int(c**0.5)+1):
    if c % i == 0:
        if i >= a and i <= b:
            count += 1
        if c != i*i:
            if c/i >= a and c/i <= b:
                count += 1
print(count)

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

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