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