let content = '';
process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', buf => {
  content += buf;
});
process.stdin.on('end', () => {
  const [a, b, c] = content
    .trim()
    .split(' ')
    .map(n => parseInt(n, 10));
  
  let count = 0;
  for (let i = a; i <= b; i++) {
    if (c % i === 0) {
      count++;
    }
  }

  console.log(count);
});
