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