#include<iostream>
using namespace std;
int main(){
  int a,b,c,count=0,kazu;
  cin >> a >> b >> c;
  for(int i=a;i<=b;i++){
     
    kazu=c%i;
    if(kazu==0){
      count++;}
  }
  cout << count << endl;
 
     
  return 0;
 