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