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

