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