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