"use strict"
let input=require('fs').readFileSync('/dev/stdin','utf8');
let arr=input.split(' ');
let a=parseInt(arr[0]);
let b=parseInt(arr[1]);
let c=parseInt(arr[2]);
let cnt=0;
for(let i=a;i<=b;i++){
  if(c%i===0)cnt++;
}
console.log(cnt);

