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