#include <bits/stdc++.h>
int main() {
  int a, b, c, d = 0, e, f;
  double ai, ue, o;
  scanf("%d%d%d", &a, &b, &c);
  for (; a <= b; a++) {
    if (c % a == 0) {
      d++;
    }
  }
  printf("%d", d);
  return 0;
}
