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