MODE = "stdio"

line = Array.new

if(defined? MODE)
  line = STDIN.read.split("\n")
else
  tmp = "\
  5 14 80
  ".split("\n")
  tmp.each{|s|
    line << s.strip
  }
end


list = Array.new

a,b,c = line[0].split(" ").map(&:to_i)

k=0
(a..b).each do |n|
  if(c%n == 0)
    k += 1
  end
end 

puts k