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