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