let nums = require('fs').readFileSync('/dev/stdin', 'UTF-8').split(' ').map(Number);
const a = nums[0];
const b = nums[1];
const c = nums[2];
let count = 0;
for (let i=a; i<=b; i++) {
  if (c%i===0) count++;
}
console.log(count);
