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