#include <bits/stdc++.h>
int main(int argc, const char* arg[]) {
  int a, b, c, t, count = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (t = a; t < b; t++) {
    if (c < t) break;
    if (c % t == 0) count++;
  }
  printf("%d\n", count);
  return 0;
}
