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