function main(lines) {
    const input = lines.split(' ').map(function(val){return parseInt(val);})
    const a = input[0]
    const b = input[1]
    const c = input[2]
    let count = 0
    for(let i=a; i<=b; i++){
        if(c%i === 0){
            count++
        }
    }
    console.log(count)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
