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