function main(input){
    let args = input.split(" ").map(x=>parseInt(x));
    let answer = 0;
    for(let i=args[0];i<=args[1];i++){
        if(args[2]%i===0) answer++;
        
    }
    console.log(answer);
    
    
    
}


main(require("fs").readFileSync("/dev/stdin","utf-8"));
