import java.util.*;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    }
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    } main {
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] ary =new int[3]; ary new int[3] 3 ary[0]=sc.nextInt() ary[0] ary 0 sc.nextInt() sc.nextInt sc ary[1]=sc.nextInt() ary[1] ary 1 sc.nextInt() sc.nextInt sc ary[2]=sc.nextInt() ary[2] ary 2 sc.nextInt() sc.nextInt sc int reg=0; reg 0 for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	} int i=ary[0]; int i=ary[0]; i ary[0] ary 0 i<ary[1]+1 i ary[1]+1 ary[1] ary 1 1 i++ i++ i {
    		if(ary[2]%i==0){
    			reg++;
    		}
    	} {
    		if(ary[2]%i==0){
    			reg++;
    		}
    	} if(ary[2]%i==0){
    			reg++;
    		} ary[2]%i==0 ary[2]%i ary[2] ary 2 i 0 {
    			reg++;
    		} reg++ reg System.out.println(reg) System.out.println System.out System System.out reg String[] args args public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    }
} public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int[] ary =new int[3];
    	ary[0]=sc.nextInt();
    	ary[1]=sc.nextInt();
    	ary[2]=sc.nextInt();

    	int reg=0;
    	for(int i=ary[0];i<ary[1]+1;i++){
    		if(ary[2]%i==0){
    			reg++;
    		}
    	}
    	System.out.println(reg);
    }
}
