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