import java.util.Scanner;

class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
	
	int a= s.nextInt();
    int b= s.nextInt();
    int c= s.nextInt();
    int cnt=0;
    for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        }
    
		System.out.println(cnt);
		
		
	}
	
}
 import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
	
	int a= s.nextInt();
    int b= s.nextInt();
    int c= s.nextInt();
    int cnt=0;
    for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        }
    
		System.out.println(cnt);
		
		
	}
	
} Main public static void main(String[] args){

	Scanner s = new Scanner(System.in);
	
	int a= s.nextInt();
    int b= s.nextInt();
    int c= s.nextInt();
    int cnt=0;
    for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        }
    
		System.out.println(cnt);
		
		
	} main {

	Scanner s = new Scanner(System.in);
	
	int a= s.nextInt();
    int b= s.nextInt();
    int c= s.nextInt();
    int cnt=0;
    for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        }
    
		System.out.println(cnt);
		
		
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a= s.nextInt(); a s.nextInt() s.nextInt s int b= s.nextInt(); b s.nextInt() s.nextInt s int c= s.nextInt(); c s.nextInt() s.nextInt s int cnt=0; cnt 0 for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        } {
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        } if(c%i==0){
            
            cnt++;
        }else{continue;} c%i==0 c%i c i 0 {
            
            cnt++;
        } cnt++ cnt {continue;} continue; System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args
import java.util.Scanner;

class Main{
public static void main(String[] args){

	Scanner s = new Scanner(System.in);
	
	int a= s.nextInt();
    int b= s.nextInt();
    int c= s.nextInt();
    int cnt=0;
    for(int i=a;i<=b;i++){
        
        if(c%i==0){
            
            cnt++;
        }else{continue;}
        }
    
		System.out.println(cnt);
		
		
	}
	
}

