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