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