
object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val a, b, c = sc.nextInt
    var ans = 0
    for (i <- a to b; if c % i == 0) {
      ans += 1
    }
    println(ans)
  }
}