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