#include <bits/stdc++.h>
int main() {
  int a, b, c, i, j, count;
  scanf("%d %d %d", &a, &b, &c);
  for (i = a; i <= b; i++) {
    for (j = 1; j * i <= c; j++) {
      j* i;
      if (j * i == c) {
        count++;
      }
    }
  }
  printf("%d", count);
}
