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