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