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