const main = (standardInput) => {
    const lengthList = standardInput.split(' ');
    const a = Number.parseInt(lengthList[0]);
    const b = Number.parseInt(lengthList[1]);
    const c = Number.parseInt(lengthList[2]);

    var result = divisor(c);
    result = result.filter((item) => {
      return a <= item && item <= b
    })

    console.log(result.length)
}

function divisor(num){
    var results = [];
    for(var i=1; i<=num; i++) {
        if( (num%i == 0) ) {
            results.push(i);
        }
    }
    return results;
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));

