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