#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a > b) return 0;
  if (a < 1 || a > 10000 || b < 1 || b > 10000 || c < 1 || c > 10000) return 0;
  int divisors = 0;
  for (int i = a; i < b; ++i) {
    if (c % i == 0) ++divisors;
  }
  cout << divisors << endl;
  return 0;
}
