var input = require('fs').readFileSync('/dev/stdin', 'utf8').split(" ").map(Number);
console.log(function(a, b, c) {
  var count = c % a == 0 ? 1 : 0;
  return a == b ? count : count + arguments.callee(a + 1, b, c);
}(input[0], input[1], input[2]));