#include <bits/stdc++.h>
int main(int argc, const char* argv[]) {
  int min, max, div, ans = 0;
  scanf("%d %d %d", &min, &max, &div);
  while (max <= min) {
    if (div % min == 0) {
      ans++;
    }
  }
  printf("%d\n", ans);
  return 0;
}
