import java.util.Scanner;
public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    }
} Main public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    } main {
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    } Scanner str =new Scanner(System.in); str new Scanner(System.in) StringBuffer buf =new StringBuffer(); buf new StringBuffer() int[] num={}; num {} int count =0; count 0 int sum =0; sum 0 int a = str.nextInt(); a str.nextInt() str.nextInt str int b = str.nextInt(); b str.nextInt() str.nextInt str int c = str.nextInt(); c str.nextInt() str.nextInt str for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    } int i=1; int i=1; i 1 i<= c i c i++ i++ i {
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    } {
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    } if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	} c%i==0 c%i c i 0 {
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	} if(a<=i&&i<=b){
    	    			sum++;
    	    		} a<=i&&i<=b a<=i a i i<=b i b {
    	    			sum++;
    	    		} sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String args[] args public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    }
} public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i<= c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.println(sum);
    }
}