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