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