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