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