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