import java.util.Scanner;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
}
}
 import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
}
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
} main {
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int z = sc.nextInt(); z sc.nextInt() sc.nextInt sc int j=0; j 0 while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		} x<=y x y {
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		} if(z%x==0){
    						j++;
    					} z%x==0 z%x z x 0 {
    						j++;
    					} j++ j x++ x System.out.println(j) System.out.println System.out System System.out j sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
}
} public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
}
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
        
    	int x = sc.nextInt();
    	int y = sc.nextInt();
    	int z = sc.nextInt();
    	int j=0;
    	while(x<=y){
    		if(z%x==0){
    						j++;
    					}
    					x++;
    				

    		}
    		 System.out.println(j);
        sc.close();
}
}

