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