import java.util.Scanner;

public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    }

    public static void main(String[] args){
        new Main();
    }
}
 import java.util.Scanner; Scanner java.util public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    }

    public static void main(String[] args){
        new Main();
    }
} Main Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    } Main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int count = 0; count 0 for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        } int i=a; int i=a; i a i<=b i b i++ i++ i {
            if(c%i==0) count++;
        } {
            if(c%i==0) count++;
        } if(c%i==0) count++; c%i==0 c%i c i 0 count++ count System.out.printf("%d\n", count) System.out.printf System.out System System.out "%d\n" count public static void main(String[] args){
        new Main();
    } main {
        new Main();
    } new Main() String[] args args public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    }

    public static void main(String[] args){
        new Main();
    }
} public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    }

    public static void main(String[] args){
        new Main();
    }
} Main
import java.util.Scanner;

public class Main {
    Main(){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int count = 0;
        for (int i=a; i<=b; i++ ){
            if(c%i==0) count++;
        }
        System.out.printf("%d\n", count);


    }

    public static void main(String[] args){
        new Main();
    }
}

