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