#include <bits/stdc++.h>
int main(int argv, char *argc[]) {
  int a, b, c;
  int idx = 0;
  int count = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (idx = a; b > idx; idx++) {
    if (!(c % idx)) count++;
    if (idx > c) break;
  }
  printf("%d\n", count);
  return 0;
}
