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