import java.util.Scanner;
public class Main {
 public static void main(String[] args){
     Scanner sc=new Scanner(System.in);
     int x,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    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,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 }
     
     
} Main public static void main(String[] args){
     Scanner sc=new Scanner(System.in);
     int x,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 } main {
     Scanner sc=new Scanner(System.in);
     int x,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int x x y y z z i=0 i 0 a; a x=sc.nextInt() x sc.nextInt() sc.nextInt sc y=sc.nextInt() y sc.nextInt() sc.nextInt sc z=sc.nextInt() z sc.nextInt() sc.nextInt sc for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     } a=x; a=x a x a<=y a y a++ a++ a {
    	 if(z%a==0)
    		 i=i+1;
     } {
    	 if(z%a==0)
    		 i=i+1;
     } if(z%a==0)
    		 i=i+1; z%a==0 z%a z a 0 i=i+1 i i+1 i 1 System.out.println(i) System.out.println System.out System System.out i 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,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 }
     
     
} public class Main {
 public static void main(String[] args){
     Scanner sc=new Scanner(System.in);
     int x,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 }
     
     
} Main
import java.util.Scanner;
public class Main {
 public static void main(String[] args){
     Scanner sc=new Scanner(System.in);
     int x,y,z,i=0,a;
     x=sc.nextInt();
     y=sc.nextInt();
     z=sc.nextInt();
     for(a=x;a<=y;a++){
    	 if(z%a==0)
    		 i=i+1;
     }
     
     System.out.println(i);
    sc.close();
 }
     
     
}
