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