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