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);
});

reader.on('close', () => {
  var abc = lines[0].split(' ');
  var abc = abc.map(function(str) { return Number(str)});
  var a = abc[0];
  var b = abc[1];
  var c = abc[2];
  var count = 0;

  for(i=a; i<=b; i++){
    if(c % i == 0){
      count++;
    }
  }
  console.log(count);
  
});
