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