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