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