#include <bits/stdc++.h>
int main() {
  int a, b, c, d = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (int x = a; x <= b; x++) {
    if (c % x == 0) {
      d = d + 1;
    } else
      (!(c % x == 0));
    { d = d; }
  }
  printf("%d\n", d);
  return 0;
}
