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