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