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