function Main(input){
	input=input.trim().split(" ");
	let a = parseInt(input[0], 10);
	let b = parseInt(input[1], 10);
	let c = parseInt(input[2], 10);
	let ans = 0;
	for (let i = a; i <= b; i++){
		if (c % i == 0){
			 ans ++;
		}
	}
	console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
