#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, s, count, i, d, num, e;
  cin >> a >> b >> c;
  count = 0;
  s = 0;
  i = 0;
  num = 0;
  e = 0;
  if (a == 1 && b == 1 && c == 1) {
    cout << "1" << endl;
    return 0;
  } else if (a <= 0 || b <= 0 || c <= 0) {
    return 0;
  } else {
    for (i = 1; i <= c; i++) {
      d = c % i;
      if (d == 0) {
        for (e = a; e < b; e++) {
          if (e == i) {
            num = num + 1;
          }
        }
      }
    }
  }
  cout << num << endl;
}
