'use strict'

const main = arg => {
 const input = arg.trim().split("\n")[0].split(" ").map(num => parseInt(num, 10));
 const dividerNum = input[2];
 const nums = [...Array(input[1] + 1).keys()].slice(input[0]);
 const validNums = nums.filter(num => dividerNum % num === 0);

 console.log(validNums.length);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));


