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