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