import scala.io.StdIn.readLine
import Math.sqrt

object Main {

  def main(args: Array[String]) = {
      val n = readLine.split(" ").map(_.toInt)
      var cnt = 0
      for(i <- n(0) to n(1))
          if(n(2) % i == 0)
              cnt += 1
      println(cnt)
  }
}