
const gInput = require('fs').readFileSync('/dev/stdin', 'utf8')
const [a,b,c] = gInput.split(' ').map( s => parseInt(s))

let count=0
for(let n=a;n<=b;n++){
    if(c%n == 0){ count++ }
}
console.log(count)
