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