#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a > b) cout << "a???b????????§????????§??????\n";
  if (b >= c) cout << "c???a????????§????????????????????????\n";
  int x = 0;
  for (int j = a; j <= b; j++) {
    int k = c % j;
    if (k == 0) {
      x++;
    } else
      continue;
  }
  cout << x << endl;
  return 0;
}
