#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, x, r = 0;
  cin >> a >> b >> c;
  for (x = a; x <= b; x++) {
    if (c % x == 0) {
      r++;
    }
  }
  printf("%d\n", r);
  return 0;
}
