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