import scala.io.StdIn.readLine

object Main {
  def main(args: Array[String]) {
    val Array(a, b, c) = readLine().split(" ").map(_.toInt)
    var i = 0
    (a to b).foreach(j => if(c % j == 0) i += 1)

    println(i)
  }
}