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