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