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