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