import java.util.Scanner

fun main(args :Array<String>){
    val cin = Scanner(System.`in`)
    val a = cin.nextInt()
    val b = cin.nextInt()
    val c = cin.nextInt()
    var div :Int = 0
    
    var i :Int = a
    while(a <= i && i <= b){
	if(c % i == 0) div++ 
	i++
    }
    println("$div")
}

