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