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