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