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