#include <bits/stdc++.h>
int main() {
  int from, to, y;
  int count = 0;
  int i;
  scanf("%d %d %d", &from, &to, &y);
  for (i = from; i <= to; i++) {
    if (y % i == 0) {
      count++;
    }
  }
  printf("%d\n", count);
}
