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