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