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