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