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