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