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