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