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