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

object Main {

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