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