var x = require('fs').readFileSync('/dev/stdin', 'utf8');
var arr = x.split(/\s/);
a = arr[0];
b = arr[1];
c = arr[2];
var count = 0;
for (i = 1 ; i <= c; i++) {
  if ((c%i == 0) && (a <= i) && (i <= b))
    count++;
}
console.log(count);


