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