#include <iostream>


int main() {
  int a, b, c;
  int count = 0; 
  std::cin >> a >> b >>  c;
  for (int i = a; i <= b; i++) {
    if (c % i == 0) count ++;
  }
  std::count << count << std::endl;
  return 0;
}