#include <bits/stdc++.h>
int main() {
  int a, b, c, count;
  std::cin >> a >> b >> c;
  for (int i = a; i <= b; i++) {
    if (c / i == 0) {
      count++;
    }
  }
  std::cout << count << std::endl;
}
