'use strict';
(function(stdin) {
  //declare function
  //declare variable
  var inputs = stdin.toString().trim().split('\n');
  var cols = inputs[0].split(' ').map(Number);
  //main
  var result = function(a, b, c) {
    var count = 0;
    for (var i = a; i <= b; i++) {
      if (c % i === 0) {
        count++;
      }
    }
    return count;
  }(cols[0], cols[1], cols[2]);

  //display
  console.log(result);
})(require('fs').readFileSync('/dev/stdin', 'utf8'));