#include <bits/stdc++.h>
int main(void) {
  char buffer[256];
  int a, b, c, i, counter = 0;
  fgets(buffer, 256, stdin);
  sscanf(buffer, "%d %d %d", &a, &b, &c);
  for (i = a; i < b; i++) {
    if (c % i == 0) counter++;
  }
  printf("%d\n", counter);
  return (0);
}
