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