#include <bits/stdc++.h>
int main(int argc, const char* argv[]) {
  int a, b, c;
  std::cin >> a >> b >> c;
  int min = (a < 2) ? 2 : a;
  int max = (b < (c / 2)) ? b : (c / 2);
  int cnt = 0;
  for (int i = min; i <= max; i++) {
    if (c % i == 0) {
      cnt++;
    }
  }
  std::cout << cnt << std::endl;
  return 0;
}
