"use strict";
process.stdin.resume();
process.stdin.setEncoding('utf8');

var lines = []
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});

reader.on('line', (line) => {
  lines.push(line);
});
/* 入力は 
5 14 80
*/
reader.on('close', () => {
    var l = lines[0].trim().split(' ').map(x=>parseInt(x));
    var a, b,c ;
    [a, b, c] = l;

    console.log(aux(a,b,c));
});

function aux(a,b,c)
{
    var count=0;
    for (var i=a; i<=b; i++){
	if (c % i===0) {
	    count++;
	}
    }
    return(count);
}
