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