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