const input = require('fs').readFileSync('/dev/stdin', 'UTF-8');

const countDivisor = input => {
  const [a, b, c] = input.split(' ').map(Number);

  let count = 0;
  for (let i = a; i < b + 1; i++) {
    if (c % i === 0) {
      count++;
    }
  }

  console.log(count);
};

countDivisor(input);

