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