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