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