#include <iostream>

int main() {

  int a,b,c,d = 0;

  std::cin >> a >> b >> c;

  for (int x = a; x < b; x++) {
    if (x == b) {
      d = 0;
    } else (c % x == 0) {
      d++;
    }
  }

  std::cout << d << '\n';

  return 0;
}
