const input = require('fs').readFileSync('/dev/stdin', 'utf8');

const array = input.split(" ").map(Number);
const a = array[0];
const b = array[1];
const c = array[2];
let count = 0;

for(let i = a;i <= b;i++){
  if(c % i == 0) count++;
}

console.log(count);

