#include <bits/stdc++.h>
int main() {
  int a, b, c, i, j;
  int syou, amari, kosuu = 0;
  scanf("%d %d %d", &a, &b, &c);
  for (i = a; i < b; i++) {
    syou = c / i;
    amari = c - syou * i;
    if (amari == 0) {
      kosuu++;
    }
  }
  printf("%d\n", kosuu);
  return 0;
}
