#include <iostream>
 int main() {
  int a, b, c;
  int ans = 0;
  std::cin >> a >> b >> c;
   for (int x = a; x =< b; x++) {
    if (c%x == 0) {
     ans++
    }
   }
   std::cout << ans <<std::endl;



 return 0;


}
     
