#include <bits/stdc++.h>
int main(void) {
  int a = 1;
  int b = 1;
  int c = 1;
  int i;
  int div = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (i = 0; i <= b - a; i++)
    if (c % (a + i) == 0) div++;
  printf("%d", div);
  return 0;
}
