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